summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-02 18:10:09 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-02 18:10:09 -0500
commit6bafd0d45f63a7618d7822f31b01da7443d9c5e8 (patch)
tree35ad964886abc69ee55af39ba1130342cd1155b0 /command.h
parent189bbdf3e1d5285fc0508d1a190036d6f4295558 (diff)
select all
Diffstat (limited to 'command.h')
-rw-r--r--command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/command.h b/command.h
index 1057b4b..5f69369 100644
--- a/command.h
+++ b/command.h
@@ -1,7 +1,7 @@
ENUM_U16 {
CMD_UNKNOWN,
CMD_NOOP,
- // movement commands
+ // movement and selection commands
CMD_LEFT,
CMD_RIGHT,
CMD_UP,
@@ -22,6 +22,7 @@ ENUM_U16 {
CMD_END_OF_FILE,
CMD_SELECT_START_OF_FILE,
CMD_SELECT_END_OF_FILE,
+ CMD_SELECT_ALL,
// scrolling
CMD_PAGE_UP,
@@ -67,6 +68,7 @@ static CommandName const command_names[CMD_COUNT] = {
{"end-of-file", CMD_END_OF_FILE},
{"select-start-of-file", CMD_SELECT_START_OF_FILE},
{"select-end-of-file", CMD_SELECT_END_OF_FILE},
+ {"select-all", CMD_SELECT_ALL},
{"page-up", CMD_PAGE_UP},
{"page-down", CMD_PAGE_DOWN},
{"backspace", CMD_BACKSPACE},