Sync OpenBSD patchset 526:

There is no real standard for modifier plus function keys. Previously, tmux
output some from rxvt but in other ways did the same as xterm or other
terminals, but this is a bit inconsistent.

xterm's method is fairly sensible and we already support it (xterm-keys), so
enable it by default instead.
This commit is contained in:
Tiago Cunha
2009-11-10 23:34:03 +00:00
parent ba7aa506f3
commit 60869fa4c3
2 changed files with 5 additions and 4 deletions

4
tmux.c
View File

@@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.186 2009-11-08 22:53:13 tcunha Exp $ */
/* $Id: tmux.c,v 1.187 2009-11-10 23:34:03 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -393,7 +393,7 @@ main(int argc, char **argv)
options_set_number(wo, "window-status-current-bg", 8);
options_set_number(wo, "window-status-current-fg", 8);
options_set_number(wo, "window-status-fg", 8);
options_set_number(wo, "xterm-keys", 0);
options_set_number(wo, "xterm-keys", 1);
options_set_number(wo, "remain-on-exit", 0);
options_set_number(wo, "synchronize-panes", 0);