summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-11-05 19:35:16 +0000
committernicm <nicm@openbsd.org>2009-11-05 19:35:16 +0000
commita2bfda59f8211302775bb657a6fe97fde9755d68 (patch)
treef6c5c10e27917e6f9e4d01e9d76e27cd2cf75e27
parentUnused variable. Aargh. (diff)
downloadwireguard-openbsd-a2bfda59f8211302775bb657a6fe97fde9755d68.tar.xz
wireguard-openbsd-a2bfda59f8211302775bb657a6fe97fde9755d68.zip
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;_~" },