Add -d flag to display-panes to specify timeout, and make 0 mean no

timeout. From Laurens Post.
This commit is contained in:
nicm
2017-08-16 12:12:54 +00:00
parent c1ec28a34b
commit c6a8ad23a1
4 changed files with 31 additions and 10 deletions

13
tmux.1
View File

@ -1461,6 +1461,7 @@ specifies the format for each item in the tree.
This command works only if at least one client is attached.
.It Xo
.Ic display-panes
.Op Fl d Ar duration
.Op Fl t Ar target-client
.Op Ar template
.Xc
@ -1468,11 +1469,19 @@ This command works only if at least one client is attached.
Display a visible indicator of each pane shown by
.Ar target-client .
See the
.Ic display-panes-time ,
.Ic display-panes-colour ,
.Ic display-panes-colour
and
.Ic display-panes-active-colour
session options.
The indicator is closed when a key is pressed or
.Ar duration
milliseconds have passed.
If
.Fl d
is not given,
.Ic display-panes-time
is used.
A duration of zero means the indicator stays until a key is pressed.
While the indicator is on screen, a pane may be chosen with the
.Ql 0
to