aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2016-10-12 13:03:27 +0000
committernicm <nicm>2016-10-12 13:03:27 +0000
commit68bebe1fb7dfe5d152a2734c5bd572b1db641a4c (patch)
treeebd451ee92e938399563bb994b572639af3e75cd /tmux.1
parent22a8afee9e8dcbe45a371ca72af0169b7c94eac5 (diff)
downloadrtmux-68bebe1fb7dfe5d152a2734c5bd572b1db641a4c.tar.gz
rtmux-68bebe1fb7dfe5d152a2734c5bd572b1db641a4c.tar.bz2
rtmux-68bebe1fb7dfe5d152a2734c5bd572b1db641a4c.zip
The repeat prompt in both emacs and vi (and the old one in tmux) doesn't
support line editing and instead executes a command as soon as a non-number key is pressed. Add a -N flag to command-prompt for the same in copy mode. Reported by Theo Buehler.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.14
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index f375a215..4cf403e7 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3748,7 +3748,7 @@ session option.
Commands related to the status line are as follows:
.Bl -tag -width Ds
.It Xo Ic command-prompt
-.Op Fl 1
+.Op Fl 1N
.Op Fl I Ar inputs
.Op Fl p Ar prompts
.Op Fl t Ar target-client
@@ -3802,6 +3802,8 @@ to
.Fl 1
makes the prompt only accept one key press, in this case the resulting input
is a single character.
+.Fl N
+accepts only numbers and exit the prompt on any other key press.
.It Xo Ic confirm-before
.Op Fl p Ar prompt
.Op Fl t Ar target-client