diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-10-10 01:11:24 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-10-10 01:11:24 +0100 |
commit | bb00cd64b1d111122d22a5bd71a8ccedc45c0484 (patch) | |
tree | d379c016da3a135109b7be6bec9be87df2155d17 /termkey.h | |
parent | 2ceb64261a833d8906ce2009212c1510b79026d2 (diff) | |
download | termo-bb00cd64b1d111122d22a5bd71a8ccedc45c0484.tar.gz termo-bb00cd64b1d111122d22a5bd71a8ccedc45c0484.tar.xz termo-bb00cd64b1d111122d22a5bd71a8ccedc45c0484.zip |
Added many more key symbols and names + translations from terminfo
Diffstat (limited to 'termkey.h')
-rw-r--r-- | termkey.h | 28 |
1 files changed, 25 insertions, 3 deletions
@@ -18,14 +18,12 @@ typedef enum { TERMKEY_SYM_SPACE, TERMKEY_SYM_DEL, - // CSI keys + // Special keys TERMKEY_SYM_UP, TERMKEY_SYM_DOWN, TERMKEY_SYM_LEFT, TERMKEY_SYM_RIGHT, TERMKEY_SYM_BEGIN, - - // CSI function keys TERMKEY_SYM_FIND, TERMKEY_SYM_INSERT, TERMKEY_SYM_DELETE, @@ -35,6 +33,30 @@ typedef enum { TERMKEY_SYM_HOME, TERMKEY_SYM_END, + // Special keys from terminfo + TERMKEY_SYM_CANCEL, + TERMKEY_SYM_CLEAR, + TERMKEY_SYM_CLOSE, + TERMKEY_SYM_COMMAND, + TERMKEY_SYM_COPY, + TERMKEY_SYM_EXIT, + TERMKEY_SYM_HELP, + TERMKEY_SYM_MARK, + TERMKEY_SYM_MESSAGE, + TERMKEY_SYM_MOVE, + TERMKEY_SYM_OPEN, + TERMKEY_SYM_OPTIONS, + TERMKEY_SYM_PRINT, + TERMKEY_SYM_REDO, + TERMKEY_SYM_REFERENCE, + TERMKEY_SYM_REFRESH, + TERMKEY_SYM_REPLACE, + TERMKEY_SYM_RESTART, + TERMKEY_SYM_RESUME, + TERMKEY_SYM_SAVE, + TERMKEY_SYM_SUSPEND, + TERMKEY_SYM_UNDO, + // Numeric keypad special keys TERMKEY_SYM_KP0, TERMKEY_SYM_KP1, |