diff options
author | David Walter Seikel | 2014-04-15 18:42:29 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-15 18:42:29 +1000 |
commit | ee2281df3851774fe4a862b79e3587a90a877395 (patch) | |
tree | 39b1a045946277605b80200fc440a783c97e332f | |
parent | Switch to using ARRAY_LEN. (diff) | |
download | opensim-SC_OLD-ee2281df3851774fe4a862b79e3587a90a877395.zip opensim-SC_OLD-ee2281df3851774fe4a862b79e3587a90a877395.tar.gz opensim-SC_OLD-ee2281df3851774fe4a862b79e3587a90a877395.tar.bz2 opensim-SC_OLD-ee2281df3851774fe4a862b79e3587a90a877395.tar.xz |
Minor comment fixes.
Diffstat (limited to '')
-rw-r--r-- | handlekeys.c | 4 |
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 | ||