diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-08 14:50:30 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-08 14:50:30 -0500 |
commit | f05a22635e54564e9dfed28f83ea583a19046d03 (patch) | |
tree | 519861992a7c313b7d9ebf5b273b2bd436f6fd96 /command.h | |
parent | aa862462008e647cc4e87fd4618fe5dc5af1076d (diff) |
search in both directions
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,7 @@ ENUM_U16 { // insertion CMD_TAB, // insert '\t' CMD_NEWLINE, // insert '\n' + autoindent -- also used to submit line buffers + CMD_NEWLINE_BACK, // scrolling CMD_PAGE_UP, // move cursor up one page up (where one page is however tall the buffer is) @@ -97,6 +98,7 @@ static CommandName const command_names[CMD_COUNT] = { {"page-down", CMD_PAGE_DOWN}, {"tab", CMD_TAB}, {"newline", CMD_NEWLINE}, + {"newline-back", CMD_NEWLINE_BACK}, {"backspace", CMD_BACKSPACE}, {"delete", CMD_DELETE}, {"backspace-word", CMD_BACKSPACE_WORD}, |