summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-26 00:59:59 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-26 00:59:59 +0100
commit180f585ac379d9eb2250d8cc4c11fbea38a1b844 (patch)
tree7c9ade97f02447ddf9b492b6b0b3f2869c121206 /libbb
parent9d71fc6381bb6fa3d0deb4f55a334f124e9e9abf (diff)
read_key: remove handling for ctrl-up/down, we don't use that. -12 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/read_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/read_key.c b/libbb/read_key.c
index 88ea79dc6..02c381dd5 100644
--- a/libbb/read_key.c
+++ b/libbb/read_key.c
@@ -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