If display-popup is used inside a popup, modify that popup. From

m-einfalt at gmx dot de in GitHub issue 4678.
This commit is contained in:
nicm
2025-11-12 13:47:51 +00:00
parent 40600eebfa
commit 3c9e10139f
4 changed files with 157 additions and 63 deletions

19
tmux.1
View File

@@ -6999,7 +6999,7 @@ forwards any input read from stdin to the empty pane given by
.Ar target-pane .
.Tg popup
.It Xo Ic display-popup
.Op Fl BCEk
.Op Fl BCEkN
.Op Fl b Ar border-lines
.Op Fl c Ar target-client
.Op Fl d Ar start-directory
@@ -7023,6 +7023,20 @@ when omitted) on
.Ar target-client .
A popup is a rectangular box drawn over the top of any panes.
Panes are not updated while a popup is present.
If the command is run inside an existing popup, that popup is modified.
Only the
.Fl b ,
.Fl B ,
.Fl C ,
.Fl E ,
.Fl EE ,
.Fl K ,
.Fl N ,
.Fl s ,
and
.Fl S
options are accepted in this case;
all others are ignored.
.Pp
.Fl E
closes the popup automatically when
@@ -7086,6 +7100,9 @@ is a format for the popup title (see
The
.Fl C
flag closes any popup on the client.
.Pp
.Fl N
disables any previously specified -E, -EE, or -k option.
.Tg showphist
.It Xo Ic show-prompt-history
.Op Fl T Ar prompt-type