aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--handlekeys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlekeys.c b/handlekeys.c
index 8f5fad3..8bae529 100644
--- a/handlekeys.c
+++ b/handlekeys.c
@@ -20,7 +20,7 @@ struct key
20 20
21// This table includes some variations I have found on some terminals. 21// This table includes some variations I have found on some terminals.
22// http://rtfm.etla.org/xterm/ctlseq.html has a useful guide. 22// http://rtfm.etla.org/xterm/ctlseq.html has a useful guide.
23// TODO - Don't think I got all the linux console variations. 23// TODO - Don't think I got all the linux console or xterm variations.
24// TODO - Add more shift variations, plus Ctrl & Alt variations when needed. 24// TODO - Add more shift variations, plus Ctrl & Alt variations when needed.
25// TODO - tmux messes with the shift function keys somehow. 25// TODO - tmux messes with the shift function keys somehow.
26// TODO - Add other miscelany that does not use an escape sequence. 26// TODO - Add other miscelany that does not use an escape sequence.
@@ -273,7 +273,7 @@ void handle_keys(long extra, int (*handle_event)(long extra, struct keyevent *ev
273 } 273 }
274 } 274 }
275 275
276 // Check for lone Esc first, wait a bit longer if it is 276 // Check for lone Esc first, wait a bit longer if it is.
277 pendingEsc = ((0 == buffer[1]) && ('\x1B' == buffer[0])); 277 pendingEsc = ((0 == buffer[1]) && ('\x1B' == buffer[0]));
278 if (pendingEsc) continue; 278 if (pendingEsc) continue;
279 279