summaryrefslogtreecommitdiffstats
path: root/cmd-up-pane.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-up-pane.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-up-pane.c')
-rw-r--r--cmd-up-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-up-pane.c b/cmd-up-pane.c
index 8e0962f8..b0931603 100644
--- a/cmd-up-pane.c
+++ b/cmd-up-pane.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-up-pane.c,v 1.1 2009-01-14 19:41:15 nicm Exp $ */
+/* $Id: cmd-up-pane.c,v 1.2 2009-01-14 22:13:30 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -29,7 +29,7 @@ void cmd_up_pane_exec(struct cmd *, struct cmd_ctx *);
const struct cmd_entry cmd_up_pane_entry = {
"up-pane", "upp",
CMD_TARGET_WINDOW_USAGE,
- 0,
+ CMD_CANREPEAT,
cmd_target_init,
cmd_target_parse,
cmd_up_pane_exec,