summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-03-08 13:56:37 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-03-08 13:56:37 +0000
commit21ae66215163976ea4c826dcdf55e04ddce54748 (patch)
tree527d0c769a77a8cb35644a9f42ed2a5f90e60b1a /src/command_manager.hh
parentead68653508473e2b7651fdf9c4d7eceb902bbdb (diff)
Use ranked match based completion for command names
Diffstat (limited to 'src/command_manager.hh')
-rw-r--r--src/command_manager.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh
index dbc87e81..090ed0fb 100644
--- a/src/command_manager.hh
+++ b/src/command_manager.hh
@@ -130,6 +130,8 @@ private:
const ShellContext& shell_context,
CharCoord pos) const;
+ Completions complete_command_name(const Context& context, StringView query) const;
+
struct CommandDescriptor
{
Command command;