aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-04-30 12:02:21 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-30 12:02:21 +0100
commit25487757bcda66d027a79af9bc3283e2d6acfc39 (patch)
treeeb0dff86083296fe5fc766f09a2a4791b0b8857b /tmux.1
parent5af694394018940819c0734be9b5fd44df1bf857 (diff)
downloadrtmux-25487757bcda66d027a79af9bc3283e2d6acfc39.tar.gz
rtmux-25487757bcda66d027a79af9bc3283e2d6acfc39.tar.bz2
rtmux-25487757bcda66d027a79af9bc3283e2d6acfc39.zip
Add -W and -T flags to command-prompt to only complete a window and a target.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 9 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index c85e7e39..198f5660 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4969,7 +4969,7 @@ session option.
Commands related to the status line are as follows:
.Bl -tag -width Ds
.It Xo Ic command-prompt
-.Op Fl 1ikN
+.Op Fl 1ikNTW
.Op Fl I Ar inputs
.Op Fl p Ar prompts
.Op Fl t Ar target-client
@@ -5028,6 +5028,14 @@ makes the prompt only accept numeric key presses.
.Fl i
executes the command every time the prompt input changes instead of when the
user exits the command prompt.
+.Fl T
+tells
+.Nm
+that the prompt is for a target which affects what completions are offered when
+.Em Tab
+is pressed;
+.Fl W
+is similar but indicates the prompt is for a window.
.Pp
The following keys have a special meaning in the command prompt, depending
on the value of the