From 41b318ac7c881fc4cdf834ea5e14a7e8646605aa Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 28 Apr 2023 06:12:27 +0000 Subject: 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. --- tmux.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tmux.1') 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 -- cgit v1.2.3