diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-05-05 23:24:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-05-05 23:24:23 +0000 |
commit | e0f4697e7cfd1a09d6332eae607fd3a9a1181234 (patch) | |
tree | ee2c7974dfeedcddb80acbeb5bf23f4a74450a12 /cmd-command-prompt.c | |
parent | c4a2fdf15b5f6cd35319e36636b7daee8061c2ab (diff) | |
download | rtmux-e0f4697e7cfd1a09d6332eae607fd3a9a1181234.tar.gz rtmux-e0f4697e7cfd1a09d6332eae607fd3a9a1181234.tar.bz2 rtmux-e0f4697e7cfd1a09d6332eae607fd3a9a1181234.zip |
Identical behaviour to select-prompt can now be obtained with
command-prompt, so remove select-prompt and change ' to be bound to
command-prompt -p index "select-window -t :%%".
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r-- | cmd-command-prompt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index e3774256..b76ea8d1 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -81,6 +81,10 @@ cmd_command_prompt_init(struct cmd *self, int key) case 'f': data->template = xstrdup("find-window '%%'"); break; + case '\'': + data->template = xstrdup("select-window -t ':%%'"); + data->prompts = xstrdup("index"); + break; } } |