summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-07-18 21:14:58 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2022-07-21 16:48:44 +0200
commit57a98880ab4ca81d1904aa0b18c6a72bc2600fb6 (patch)
tree25df61085ac14563d606b96f3e17cd6036df9f2b /src/input_handler.cc
parent559af669c77a3b3b6de0376f177ebbba5ebd0328 (diff)
Make completers take "StringView" instead of "const String&" for compatibility with PromptCompleter
We define using PromptCompleter = std::function<Completions (const Context&, CompletionFlags, StringView, ByteCount)>; Some command completers are *almost* convertible to PromptCompleter; the only difference is the string type of the prefix argument. The later commits in this series want to use menu() on the completers. Enable this by harmonizing the types.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions