diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 01:51:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 01:51:22 +0000 |
commit | a1b43faa436430e76da7da5ee321113a87ce719c (patch) | |
tree | 3c2a5d5338d5db43f91ceccbb6d2fbea97f022ba /input-keys.c | |
parent | 430d2194362e177b55c5fc66ee95f3a968ed62e1 (diff) | |
download | rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.tar.gz rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.tar.bz2 rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.zip |
Trim spaces.
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/input-keys.c b/input-keys.c index 0c2e1f70..cf7f4ce7 100644 --- a/input-keys.c +++ b/input-keys.c @@ -1,4 +1,4 @@ -/* $Id: input-keys.c,v 1.18 2009-01-09 16:45:58 nicm Exp $ */ +/* $Id: input-keys.c,v 1.19 2009-01-10 01:51:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -128,7 +128,7 @@ input_key(struct window *w, int key) if ((ike->flags & INPUTKEY_CURSOR) && !(w->screen->mode & MODE_KCURSOR)) continue; - + if (ike->flags & INPUTKEY_MODIFIER) { if (KEYC_ISCTL(key) && KEYC_ADDCTL(ike->key) == key) break; @@ -148,7 +148,7 @@ input_key(struct window *w, int key) log_debug2("found key 0x%x: \"%s\"", key, ike->data); - if (ike->flags & INPUTKEY_XTERM && + if (ike->flags & INPUTKEY_XTERM && options_get_number(&w->options, "xterm-keys")) { /* In xterm keys mode, append modifier argument. */ ch = '\0'; @@ -177,9 +177,9 @@ input_key(struct window *w, int key) return; } if (ike->flags & INPUTKEY_MODIFIER) { - /* + /* * If not in xterm keys or not an xterm key handle escape and - * control (shift not supported). + * control (shift not supported). */ if (KEYC_ISESC(key)) buffer_write8(w->out, '\033'); |