From f05a22635e54564e9dfed28f83ea583a19046d03 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 8 Feb 2021 14:50:30 -0500 Subject: search in both directions --- command.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command.h') diff --git a/command.h b/command.h index 50741ed..74741c4 100644 --- a/command.h +++ b/command.h @@ -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}, -- cgit v1.2.3