diff options
author | nicm <nicm> | 2023-04-28 06:12:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-04-28 06:12:27 +0000 |
commit | 41b318ac7c881fc4cdf834ea5e14a7e8646605aa (patch) | |
tree | c4b850f572fe93bbb9aac282bd36cf4ee4852922 /tmux.1 | |
parent | bf636d9575806134ca7efd917ee0d54e9330ae86 (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.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |