version 1.656, 2019/05/27 16:22:32 |
version 1.657, 2019/05/28 07:18:42 |
|
|
.It Li "client_height" Ta "" Ta "Height of client" |
.It Li "client_height" Ta "" Ta "Height of client" |
.It Li "client_key_table" Ta "" Ta "Current key table" |
.It Li "client_key_table" Ta "" Ta "Current key table" |
.It Li "client_last_session" Ta "" Ta "Name of the client's last session" |
.It Li "client_last_session" Ta "" Ta "Name of the client's last session" |
.It Li "client_menu" Ta "" Ta "The default client menu" |
|
.It Li "client_name" Ta "" Ta "Name of client" |
.It Li "client_name" Ta "" Ta "Name of client" |
.It Li "client_pid" Ta "" Ta "PID of client process" |
.It Li "client_pid" Ta "" Ta "PID of client process" |
.It Li "client_prefix" Ta "" Ta "1 if prefix key has been pressed" |
.It Li "client_prefix" Ta "" Ta "1 if prefix key has been pressed" |
|
|
.It Li "pane_left" Ta "" Ta "Left of pane" |
.It Li "pane_left" Ta "" Ta "Left of pane" |
.It Li "pane_marked" Ta "" Ta "1 if this is the marked pane" |
.It Li "pane_marked" Ta "" Ta "1 if this is the marked pane" |
.It Li "pane_marked_set" Ta "" Ta "1 if a marked pane is set" |
.It Li "pane_marked_set" Ta "" Ta "1 if a marked pane is set" |
.It Li "pane_menu" Ta "" Ta "The default pane menu" |
|
.It Li "pane_mode" Ta "" Ta "Name of pane mode, if any." |
.It Li "pane_mode" Ta "" Ta "Name of pane mode, if any." |
.It Li "pane_pid" Ta "" Ta "PID of first process in pane" |
.It Li "pane_pid" Ta "" Ta "PID of first process in pane" |
.It Li "pane_pipe" Ta "" Ta "1 if pane is being piped" |
.It Li "pane_pipe" Ta "" Ta "1 if pane is being piped" |
|
|
.It Li "session_id" Ta "" Ta "Unique session ID" |
.It Li "session_id" Ta "" Ta "Unique session ID" |
.It Li "session_last_attached" Ta "" Ta "Time session last attached" |
.It Li "session_last_attached" Ta "" Ta "Time session last attached" |
.It Li "session_many_attached" Ta "" Ta "1 if multiple clients attached" |
.It Li "session_many_attached" Ta "" Ta "1 if multiple clients attached" |
.It Li "session_menu" Ta "" Ta "The default session menu" |
|
.It Li "session_name" Ta "#S" Ta "Name of session" |
.It Li "session_name" Ta "#S" Ta "Name of session" |
.It Li "session_stack" Ta "" Ta "Window indexes in most recent order" |
.It Li "session_stack" Ta "" Ta "Window indexes in most recent order" |
.It Li "session_windows" Ta "" Ta "Number of windows in session" |
.It Li "session_windows" Ta "" Ta "Number of windows in session" |
|
|
.It Li "window_last_flag" Ta "" Ta "1 if window is the last used" |
.It Li "window_last_flag" Ta "" Ta "1 if window is the last used" |
.It Li "window_layout" Ta "" Ta "Window layout description, ignoring zoomed window panes" |
.It Li "window_layout" Ta "" Ta "Window layout description, ignoring zoomed window panes" |
.It Li "window_linked" Ta "" Ta "1 if window is linked across sessions" |
.It Li "window_linked" Ta "" Ta "1 if window is linked across sessions" |
.It Li "window_menu" Ta "" Ta "The default window menu" |
|
.It Li "window_name" Ta "#W" Ta "Name of window" |
.It Li "window_name" Ta "#W" Ta "Name of window" |
.It Li "window_offset_x" Ta "" Ta "X offset into window if larger than client" |
.It Li "window_offset_x" Ta "" Ta "X offset into window if larger than client" |
.It Li "window_offset_y" Ta "" Ta "Y offset into window if larger than client" |
.It Li "window_offset_y" Ta "" Ta "Y offset into window if larger than client" |
|
|
This command works only from inside |
This command works only from inside |
.Nm . |
.Nm . |
.It Xo Ic display-menu |
.It Xo Ic display-menu |
.Op Fl F |
|
.Op Fl c Ar target-client |
.Op Fl c Ar target-client |
.Op Fl M Ar menu |
|
.Op Fl t Ar target-pane |
.Op Fl t Ar target-pane |
.Op Fl T Ar title |
.Op Fl T Ar title |
.Op Fl x Ar position |
.Op Fl x Ar position |
.Op Fl y Ar position |
.Op Fl y Ar position |
|
.Ar name |
|
.Ar key |
|
.Ar command |
|
.Ar ... |
.Xc |
.Xc |
.D1 (alias: Ic menu ) |
.D1 (alias: Ic menu ) |
Display a menu on |
Display a menu on |
|
|
.Ar target-pane |
.Ar target-pane |
gives the target for any commands run from the menu. |
gives the target for any commands run from the menu. |
.Pp |
.Pp |
A menu is passed to |
A menu is passed as a series of arguments: first the menu item name, |
.Fl M |
second the key shortcut (or empty for none) and third the command |
as a list of menu items separated by |
to run when the menu item is chosen. |
.Ql | . |
The name and command are formats, see the |
Each menu item consists of three comma-separated parts: |
|
.Bl -enum -width Ds |
|
.It |
|
The menu item name. |
|
This is a format and may include embedded styles, see the |
|
.Sx FORMATS |
.Sx FORMATS |
and |
and |
.Sx STYLES |
.Sx STYLES |
sections. |
sections. |
.It |
The name may be empty for a separator line, in which case both the key and |
The menu item shortcut key. |
command should be omitted. |
If this is empty the menu item has no key shortcut. |
|
.It |
|
The command run when the menu item is chosen. |
|
.El |
|
.Pp |
|
An empty menu item is a separator line. |
|
.Pp |
.Pp |
.Fl T |
.Fl T |
is a format for the menu title (see |
is a format for the menu title (see |