From 7ce8fee4f3ea4a480ffa18cd5d66ba9a7f3626db Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 27 Mar 2011 20:31:25 +0000 Subject: Don't include meta twice when working out the flags to output for xterm-style keys - bit 3 is accepted on input but not on output. Also a style nit in the header. --- xterm-keys.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xterm-keys.c') diff --git a/xterm-keys.c b/xterm-keys.c index 1e5583f7..fd9fee8a 100644 --- a/xterm-keys.c +++ b/xterm-keys.c @@ -174,8 +174,6 @@ xterm_keys_lookup(int key) modifiers += 2; if (key & KEYC_CTRL) modifiers += 4; - if (key & KEYC_ESCAPE) - modifiers += 8; /* * If the key has no modifiers, return NULL and let it fall through to -- cgit