Enhancement - _commands

- Added undocumented _commands command to support completion scripts.
This commit is contained in:
Paul Beckingham 2009-07-04 00:35:50 -04:00
parent a6e9e6cdfb
commit f633e42597
5 changed files with 28 additions and 0 deletions

View file

@ -198,6 +198,7 @@ std::string Context::dispatch ()
else if (cmd.command == "undo") { handleUndo (); }
else if (cmd.command == "_projects") { out = handleCompletionProjects (); }
else if (cmd.command == "_tags") { out = handleCompletionTags (); }
else if (cmd.command == "_commands") { out = handleCompletionCommands (); }
else if (cmd.command == "" &&
sequence.size ()) { out = handleModify (); }