diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index cf390eee..fe6c428e 100644 --- a/include/common.h +++ b/include/common.h @@ -136,6 +136,9 @@ /* Áä½L³]©w */ #define KEY_TAB 9 #define KEY_ESC 27 +#define KEY_CR ('\r') // Ctrl('M'), 0x0D +#define KEY_LF ('\n') // Ctrl('J'), 0x0A +#define KEY_ENTER KEY_CR // for backward compatibility #define KEY_BS (Ctrl('H')) #define KEY_BS2 (0x7f) #define KEY_UP 0x0101 |