read_key: remove handling for ctrl-up/down, we don't use that. -12 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-10-26 00:59:59 +01:00
parent 9d71fc6381
commit 180f585ac3
2 changed files with 3 additions and 3 deletions

View File

@@ -83,8 +83,8 @@ int64_t FAST_FUNC read_key(int fd, char *buffer)
/* ESC [ 2 4 ; 5 ~ - Ctrl-F12 */
/* ESC [ 2 4 ; 6 ~ - Ctrl-Shift-F12 */
#endif
'[','1',';','5','A' |0x80,KEYCODE_CTRL_UP ,
'[','1',';','5','B' |0x80,KEYCODE_CTRL_DOWN ,
/* '[','1',';','5','A' |0x80,KEYCODE_CTRL_UP , - unused */
/* '[','1',';','5','B' |0x80,KEYCODE_CTRL_DOWN , - unused */
'[','1',';','5','C' |0x80,KEYCODE_CTRL_RIGHT,
'[','1',';','5','D' |0x80,KEYCODE_CTRL_LEFT ,
0