summaryrefslogtreecommitdiffstats
authorRaghavendra D Prabhu <[email protected]>2010-11-04 13:32:01 (GMT)
committer Raghavendra D Prabhu <[email protected]>2011-01-02 18:59:31 (GMT)
commita3d0ce40c6aceaea8ad3c54f15d5f5da7e9f61a0 (patch) (side-by-side diff)
treefae739affa2c331250b5c18b644e92e76e3cd365
parentbd4f5fe0a80f34453fc633e314d461eaaa90835c (diff)
downloadtmux-old-a3d0ce40c6aceaea8ad3c54f15d5f5da7e9f61a0.zip
tmux-old-a3d0ce40c6aceaea8ad3c54f15d5f5da7e9f61a0.tar.gz
tmux-old-a3d0ce40c6aceaea8ad3c54f15d5f5da7e9f61a0.tar.bz2
Revert "Sync OpenBSD patchset 772:"
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--xterm-keys.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xterm-keys.c b/xterm-keys.c
index 6d58f96..c3a34b3 100644
--- a/xterm-keys.c
+++ b/xterm-keys.c
@@ -1,4 +1,4 @@
-/* $Id: xterm-keys.c,v 1.7 2010/10/24 00:30:51 tcunha Exp $ */
+/* $Id: xterm-keys.c,v 1.6 2010/09/07 13:21:18 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <[email protected]>
@@ -128,8 +128,6 @@ xterm_keys_modifiers(const char *template, const char *buf, size_t len)
modifiers |= KEYC_ESCAPE;
if (param & 4)
modifiers |= KEYC_CTRL;
- if (param & 8)
- modifiers |= KEYC_ESCAPE;
return (modifiers);
}
@@ -174,8 +172,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