summaryrefslogtreecommitdiffstats
path: root/cmd-next-window.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-next-window.c
parent0a99ba0b30f89388384c58a1188d38cea327b687 (diff)
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-next-window.c')
-rw-r--r--cmd-next-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-next-window.c b/cmd-next-window.c
index aaa2ac28..6b44ec80 100644
--- a/cmd-next-window.c
+++ b/cmd-next-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-next-window.c,v 1.12 2008-06-06 20:02:27 nicm Exp $ */
+/* $Id: cmd-next-window.c,v 1.13 2009-01-14 22:13:30 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -29,7 +29,7 @@ void cmd_next_window_exec(struct cmd *, struct cmd_ctx *);
const struct cmd_entry cmd_next_window_entry = {
"next-window", "next",
CMD_TARGET_SESSION_USAGE,
- 0,
+ CMD_CANREPEAT,
cmd_target_init,
cmd_target_parse,
cmd_next_window_exec,