summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-09 16:45:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-09 16:45:58 +0000
commited1031b358967b9a3037a8c5c72caae17ce2961c (patch)
treeb53b670692057cb4b9560984444c5144ff2eca31 /tmux.c
parent622d4def2283e6fdc13dae33d8814e2af5169a65 (diff)
Update key handling code. Simplify, support ctrl properly and add a new window option (xterm-keys) to output xterm key codes including ctrl and, if available, alt and shift.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index e60d5a2e..f83fdb2f 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.84 2008-12-10 20:25:41 nicm Exp $ */
+/* $Id: tmux.c,v 1.85 2009-01-09 16:45:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -236,7 +236,8 @@ main(int argc, char **argv)
options_set_number(&global_options, "message-fg", 0);
options_set_number(&global_options, "message-bg", 3);
options_init(&global_window_options, NULL);
- options_set_number(&global_window_options, "monitor-activity", 0);
+ options_set_number(&global_window_options, "xterm-keys", 0);
+ options_set_number(&global_window_options, "monitor-activity", 0);
options_set_number(&global_window_options, "aggressive-resize", 0);
options_set_number(&global_window_options, "remain-on-exit", 0);
options_set_number(&global_window_options, "utf8", 0);