summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-02 20:12:30 -0400
committerpommicket <pommicket@gmail.com>2022-11-02 20:12:30 -0400
commit760526ec4071f9392e5bfca77b19cb20f98c588e (patch)
treeaba49319680f0ddd430a85f743050d3529afcd10 /command.h
parent9d0433ba028792f5a468507dba28d406b9f758e7 (diff)
settings bugfixes, :insert-text, and a memory bugfix
the memory bug existed in the last release!
Diffstat (limited to 'command.h')
-rw-r--r--command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.h b/command.h
index e9faf71..734a104 100644
--- a/command.h
+++ b/command.h
@@ -30,6 +30,7 @@ ENUM_U16 {
CMD_SELECT_PAGE_DOWN,
// insertion
+ CMD_INSERT_TEXT, // insert text
CMD_TAB, // insert '\t'
CMD_BACKTAB,
CMD_NEWLINE, // insert '\n' + autoindent -- also used to submit line buffers
@@ -134,6 +135,7 @@ static CommandName const command_names[] = {
{"page-down", CMD_PAGE_DOWN},
{"tab", CMD_TAB},
{"backtab", CMD_BACKTAB},
+ {"insert-text", CMD_INSERT_TEXT},
{"newline", CMD_NEWLINE},
{"newline-back", CMD_NEWLINE_BACK},
{"comment-selection", CMD_COMMENT_SELECTION},