summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-18 16:37:51 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-18 16:37:51 -0500
commita3adbe5ea6015a76a3df84ee5942b89fbb762947 (patch)
tree712d0fdfaf23818ebf2b361306dbb9d4452e6540 /command.h
parent37102a766e1913cd0548a981e5c601852ae47963 (diff)
opening files kinda working
Diffstat (limited to 'command.h')
-rw-r--r--command.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/command.h b/command.h
index 6410c3e..50821b5 100644
--- a/command.h
+++ b/command.h
@@ -44,6 +44,8 @@ ENUM_U16 {
CMD_ESCAPE, // by default this is the escape key. closes menus, etc.
+ CMD_SUBMIT_LINE_BUFFER, // submit "line buffer" value -- the line buffer is where you type file names when opening files, etc.
+
CMD_COUNT
} ENUM_U16_END(Command);
@@ -87,6 +89,7 @@ static CommandName const command_names[CMD_COUNT] = {
{"redo", CMD_REDO},
{"increase-text-size", CMD_TEXT_SIZE_INCREASE},
{"decrease-text-size", CMD_TEXT_SIZE_DECREASE},
- {"escape", CMD_ESCAPE}
+ {"escape", CMD_ESCAPE},
+ {"submit-line-buffer", CMD_SUBMIT_LINE_BUFFER}
};