Add command prompt

This adds support for vim-style command mode. The command mode can be
entered with pressing ":" (by default, the key binding is configurable).

Currently, no command is supported. Support for various commands will be
added later.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2013-07-17 00:37:07 +02:00
parent 5c6131d5ec
commit c4dae80dd2
4 changed files with 19 additions and 3 deletions

View File

@@ -434,6 +434,7 @@ enum key {
KEY_GENERIC_SCROLL_DOWN,
KEY_GENERIC_SCROLL_UP,
KEY_GENERIC_GOTO_TODAY,
KEY_GENERIC_CMD,
KEY_MOVE_RIGHT,
KEY_MOVE_LEFT,