summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-12-14 10:43:42 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-12-14 10:43:42 +0000
commitd9d503c04f5e5d9943aa2296e23cbbfeace1258a (patch)
tree27ca5948e11ef7da156fd393b2239a0df4229170 /usr.bin/tmux/tmux.c
parent0413aabe3aa04641354d2cd9fc5dec011545b36b (diff)
New server option, escape-time, to set the timeout used to detect if escapes
are alone or part of a function key or meta sequence.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index 4710bf9044e..edff9be2501 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.64 2009/12/11 13:58:48 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.65 2009/12/14 10:43:41 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -317,6 +317,7 @@ main(int argc, char **argv)
options_init(&global_options, NULL);
oo = &global_options;
options_set_number(oo, "quiet", quiet);
+ options_set_number(oo, "escape-time", 500);
options_init(&global_s_options, NULL);
so = &global_s_options;