summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-05 19:35:17 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-05 19:35:17 +0000
commit2912e135272e1b5142e5a571259c1abc96542b65 (patch)
treee092ac3c0819e8beb543971f397649bf6604a7ae
parentb74c69710ce057922e3cfd313227b935449775d0 (diff)
Old xterm F1-F4 are \033O_P not \033[O_P.
-rw-r--r--usr.bin/tmux/xterm-keys.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/xterm-keys.c b/usr.bin/tmux/xterm-keys.c
index 40c5ad207b5..3ff2131bf77 100644
--- a/usr.bin/tmux/xterm-keys.c
+++ b/usr.bin/tmux/xterm-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xterm-keys.c,v 1.2 2009/10/26 18:16:32 nicm Exp $ */
+/* $OpenBSD: xterm-keys.c,v 1.3 2009/11/05 19:35:16 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -50,13 +50,13 @@ struct xterm_keys_entry {
struct xterm_keys_entry xterm_keys_table[] = {
{ KEYC_F1, "\033[1;_P" },
- { KEYC_F1, "\033[O_P" },
+ { KEYC_F1, "\033O_P" },
{ KEYC_F2, "\033[1;_Q" },
- { KEYC_F2, "\033[O_Q" },
+ { KEYC_F2, "\033O_Q" },
{ KEYC_F3, "\033[1;_R" },
- { KEYC_F3, "\033[O_R" },
+ { KEYC_F3, "\033O_R" },
{ KEYC_F4, "\033[1;_S" },
- { KEYC_F4, "\033[O_S" },
+ { KEYC_F4, "\033O_S" },
{ KEYC_F5, "\033[15;_~" },
{ KEYC_F6, "\033[17;_~" },
{ KEYC_F7, "\033[18;_~" },