Rework the prefix-time stuff. The option is now call repeat-time and defaults to 500 ms. However, it only applies to a small subset of commands, currently: up-pane, down-pane, next-window, previous-window, resize-pane-up, resize-pane-down. These are the commands for which it is obviously useful, having it for everything else was just bloody annoying.

This commit is contained in:
Nicholas Marriott
2009-01-14 22:13:30 +00:00
parent 0a99ba0b30
commit 97fef895f2
14 changed files with 87 additions and 62 deletions

4
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.95 2009-01-14 18:41:55 nicm Exp $ */
/* $Id: tmux.c,v 1.96 2009-01-14 22:13:30 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -234,7 +234,7 @@ main(int argc, char **argv)
options_set_number(&global_options, "message-bg", 3);
options_set_number(&global_options, "message-fg", 0);
options_set_number(&global_options, "prefix", META);
options_set_number(&global_options, "prefix-time", 0);
options_set_number(&global_options, "repeat-time", 500);
options_set_number(&global_options, "set-titles", 1);
options_set_number(&global_options, "lock-after-time", 0);
options_set_number(&global_options, "status", 1);