mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Add a -p flag to display-message to print the output rather than displaying in
the status line, this allows things like "display -p '#W'" to find the current window index.
This commit is contained in:
8
tmux.1
8
tmux.1
@ -2011,11 +2011,17 @@ Ask for confirmation before executing
|
||||
This command works only from inside
|
||||
.Nm .
|
||||
.It Xo Ic display-message
|
||||
.Op Fl p
|
||||
.Op Fl t Ar target-client
|
||||
.Op Ar message
|
||||
.Xc
|
||||
.D1 (alias: Ic display )
|
||||
Display a message in the status line.
|
||||
Display a message.
|
||||
If
|
||||
.Fl p
|
||||
is given, the output is printed to stdout, otherwise it is displayed in the
|
||||
.Ar target-client
|
||||
status line.
|
||||
The format of
|
||||
.Ar message
|
||||
is as for
|
||||
|
Reference in New Issue
Block a user