diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2010-05-03 09:38:04 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2010-05-03 09:38:04 +0000 |
commit | 3237932c136a2acb4eb09366a457cf3f67ca5e8e (patch) | |
tree | 5b7285bee6958873d027ef6148490ae2418baee7 /usr.bin/tmux | |
parent | 44a448bfe1707389e475034a16f7e7179ddacdde (diff) |
Make C-] and other punctuation-based control key combinations work again.
ok nicm
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/key-string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/key-string.c b/usr.bin/tmux/key-string.c index 569a01a1b8a..38eb77d6067 100644 --- a/usr.bin/tmux/key-string.c +++ b/usr.bin/tmux/key-string.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-string.c,v 1.15 2010/04/23 14:27:04 nicm Exp $ */ +/* $OpenBSD: key-string.c,v 1.16 2010/05/03 09:38:03 mcbride Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -154,7 +154,7 @@ key_string_lookup_string(const char *string) if (modifiers & KEYC_CTRL) { if (key >= 97 && key <= 122) key -= 96; - else if (key >= 65 && key <= 90) + else if (key >= 64 && key <= 95) key -= 64; else if (key == 32) key = 0; |