aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-14 22:13:30 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-14 22:13:30 +0000
commit97fef895f25eccb5de4d57eebe241f5ef8a61f51 (patch)
tree2a55b3626ee26b79b136ef08130931418e518ce3 /cmd-set-option.c
parent0a99ba0b30f89388384c58a1188d38cea327b687 (diff)
downloadrtmux-97fef895f25eccb5de4d57eebe241f5ef8a61f51.tar.gz
rtmux-97fef895f25eccb5de4d57eebe241f5ef8a61f51.tar.bz2
rtmux-97fef895f25eccb5de4d57eebe241f5ef8a61f51.zip
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.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 97c08182..d63cc938 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-option.c,v 1.53 2009-01-14 19:23:41 nicm Exp $ */
+/* $Id: cmd-set-option.c,v 1.54 2009-01-14 22:13:30 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -56,7 +56,7 @@ const struct set_option_entry set_option_table[NSETOPTION] = {
{ "message-bg", SET_OPTION_COLOUR, 0, 0, NULL },
{ "message-fg", SET_OPTION_COLOUR, 0, 0, NULL },
{ "prefix", SET_OPTION_KEY, 0, 0, NULL },
- { "prefix-time", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
+ { "repeat-time", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
{ "set-titles", SET_OPTION_FLAG, 0, 0, NULL },
{ "status", SET_OPTION_FLAG, 0, 0, NULL },
{ "status-bg", SET_OPTION_COLOUR, 0, 0, NULL },