summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2023-04-28 06:12:27 +0000
committernicm <nicm>2023-04-28 06:12:27 +0000
commit41b318ac7c881fc4cdf834ea5e14a7e8646605aa (patch)
treec4b850f572fe93bbb9aac282bd36cf4ee4852922 /tmux.1
parentbf636d9575806134ca7efd917ee0d54e9330ae86 (diff)
Add options to change the confirm key and default behaviour of
confirm-before. From Elias Assaf in GitHub issue 3548; prompted by an earlier change from Yutaro Yoshii in GitHub issue 3496.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 10 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 30c655eb..4cbb8954 100644
--- a/tmux.1
+++ b/tmux.1
@@ -5807,7 +5807,8 @@ the prompt is shown in the background and the invoking client does not exit
until it is dismissed.
.Tg confirm
.It Xo Ic confirm-before
-.Op Fl b
+.Op Fl by
+.Op Fl c Ar confirm-key
.Op Fl p Ar prompt
.Op Fl t Ar target-client
.Ar command
@@ -5828,6 +5829,14 @@ With
.Fl b ,
the prompt is shown in the background and the invoking client does not exit
until it is dismissed.
+.Fl y
+changes the default behaviour (if Enter alone is pressed) of the prompt to
+run the command.
+.Fl c
+changes the confirmation key to
+.Ar confirm-key ;
+the default is
+.Ql y .
.Tg menu
.It Xo Ic display-menu
.Op Fl O