diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-30 22:27:24 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-30 22:27:24 -0500 |
commit | 185bf5b364efb4d7885ff5adcb69204e892ff5f7 (patch) | |
tree | 8bacf74b81e15ab71a0badb6a7c3492e47a2c662 /command.h | |
parent | e6ec7b7baa9a0a52c3becb0ef43bb3285232b999 (diff) |
config working!
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -26,10 +26,12 @@ ENUM_U16 { // deletion CMD_BACKSPACE, CMD_DELETE, - CMD_BACKSPACE_WORDS, - CMD_DELETE_WORDS, + CMD_BACKSPACE_WORD, + CMD_DELETE_WORD, CMD_SAVE, + CMD_UNDO, + CMD_REDO, CMD_COUNT } ENUM_U16_END(Command); @@ -64,8 +66,10 @@ static CommandName const command_names[CMD_COUNT] = { {"select-end-of-file", CMD_SELECT_END_OF_FILE}, {"backspace", CMD_BACKSPACE}, {"delete", CMD_DELETE}, - {"backspace-words", CMD_BACKSPACE}, - {"delete-words", CMD_DELETE}, - {"save", CMD_SAVE} + {"backspace-word", CMD_BACKSPACE_WORD}, + {"delete-word", CMD_DELETE_WORD}, + {"save", CMD_SAVE}, + {"undo", CMD_UNDO}, + {"redo", CMD_REDO} }; |