Sync OpenBSD patchset 587:

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.
This commit is contained in:
Tiago Cunha
2009-12-16 01:09:01 +00:00
parent ef3e483a0d
commit 90d40e27da
5 changed files with 21 additions and 15 deletions

3
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.195 2009-12-12 01:01:11 tcunha Exp $ */
/* $Id: tmux.c,v 1.196 2009-12-16 01:09:01 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -320,6 +320,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;