Make confirm-before optionally block the invoking client like run-shell,

GitHub issue 2819.
This commit is contained in:
nicm
2021-08-11 08:40:58 +00:00
parent f6755c6f2c
commit 338ec859a4
2 changed files with 35 additions and 10 deletions

7
tmux.1
View File

@ -5507,6 +5507,7 @@ option:
.It Li "Transpose characters" Ta "" Ta "C-t"
.El
.It Xo Ic confirm-before
.Op Fl b
.Op Fl p Ar prompt
.Op Fl t Ar target-client
.Ar command
@ -5523,9 +5524,9 @@ is the prompt to display; otherwise a prompt is constructed from
It may contain the special character sequences supported by the
.Ic status-left
option.
.Pp
This command works only from inside
.Nm .
With
.Fl b ,
the prompt is shown in the background and the client.
.It Xo Ic display-menu
.Op Fl O
.Op Fl c Ar target-client