tmux 3.7c formats
Variables available in formats, such as status lines and the -F flag of list commands. The list covers tmux 3.7c, 258 entries.
Session27
| Name | Type | Summary |
|---|---|---|
| active | string | Index of active window in session |
| last | string | Index of last window in session |
| session | string | 1 if session active |
| session | time | Time of session last activity |
| session | string | 1 if any window in session has activity |
| session | string | Not in the manual. |
| session | string | List of window indexes with alerts |
| session | string | Number of clients session is attached to |
| session | string | List of clients session is attached to |
| session | string | 1 if any window in session has bell |
| session | time | Time session created |
| session | string | Name of session group |
| session | string | Number of clients sessions in group are attached to |
| session | string | List of clients sessions in group are attached to |
| session | string | List of sessions in group |
| session | string | 1 if multiple clients attached to sessions in group |
| session | string | Size of session group |
| session | string | 1 if session in a group |
| session | string | Unique session ID |
| session | time | Time session last attached |
| session | string | 1 if multiple clients attached |
| session | string | 1 if this session contains the marked pane |
| session | string | Name of session |
| session | string | Working directory of session |
| session | string | 1 if any window in session has silence alert |
| session | string | Window indexes in most recent order |
| session | string | Number of windows in session |
Pane78
| Name | Type | Summary |
|---|---|---|
| alternate | string | 1 if pane is in alternate screen |
| alternate | string | Saved cursor X in alternate screen |
| alternate | string | Saved cursor Y in alternate screen |
| bracket | string | Pane bracketed paste flag |
| cursor | string | 1 if the cursor is blinking |
| cursor | string | Character at cursor in pane |
| cursor | string | Cursor colour in pane |
| cursor | string | Pane cursor flag |
| cursor | string | Cursor shape in pane |
| cursor | string | 1 if the cursor is in very visible mode |
| cursor | string | Cursor X position in pane |
| cursor | string | Cursor Y position in pane |
| history | string | Not in the manual. |
| history | string | Number of bytes in window history |
| history | string | Maximum window history lines |
| history | string | Size of history in lines |
| insert | string | Pane insert flag |
| keypad | string | Pane keypad cursor flag |
| keypad | string | Pane keypad flag |
| mouse | string | Pane mouse all flag |
| mouse | string | Pane mouse any flag |
| mouse | string | Pane mouse button flag |
| mouse | string | Pane mouse SGR flag |
| mouse | string | Pane mouse standard flag |
| mouse | string | Pane mouse UTF-8 flag |
| origin | string | Pane origin flag |
| pane | string | 1 if active pane |
| pane | string | 1 if pane is at the bottom of window |
| pane | string | 1 if pane is at the left of window |
| pane | string | 1 if pane is at the right of window |
| pane | string | 1 if pane is at the top of window |
| pane | string | Pane background colour |
| pane | string | Bottom of pane |
| pane | string | Current command if available |
| pane | string | Current path if available |
| pane | string | 1 if pane is dead |
| pane | string | Exit signal of process in dead pane |
| pane | string | Exit status of process in dead pane |
| pane | time | Exit time of process in dead pane |
| pane | string | Pane foreground colour |
| pane | string | Pane flags |
| pane | string | 1 if pane is floating |
| pane | string | Height of pane |
| pane | string | Unique pane ID |
| pane | string | Number of modes pane is in |
| pane | string | Index of pane |
| pane | string | 1 if input to pane is disabled |
| pane | string | Extended key reporting mode in this pane |
| pane | string | 1 if last pane |
| pane | string | Left of pane |
| pane | string | 1 if this is the marked pane |
| pane | string | 1 if a marked pane is set |
| pane | string | Name of pane mode, if any |
| pane | string | Path of pane (can be set by application) |
| pane | string | Pane progress bar progress percentage (can be set by application) |
| pane | string | Pane progress bar state, one of hidden, normal, error, indeterminate, paused (can be set by application) |
| pane | string | PID of first process in pane |
| pane | string | 1 if pane is being piped |
| pane | string | PID of pipe process, if any |
| pane | string | Right of pane |
| pane | string | Last search string in copy mode |
| pane | string | Command pane started with |
| pane | string | Path pane started with |
| pane | string | 1 if pane is synchronized |
| pane | string | Pane tab positions |
| pane | string | Title of pane (can be set by application) |
| pane | string | Top of pane |
| pane | string | Pseudo terminal of pane |
| pane | string | 1 if there were changes in pane while in mode |
| pane | string | Width of pane |
| pane | string | X position of pane |
| pane | string | Y position of pane |
| pane | string | Z position of pane |
| pane | string | 1 if pane is zoomed |
| scroll | string | Bottom of scroll region in pane |
| scroll | string | Top of scroll region in pane |
| synchronized | string | 1 if pane has synchronized output enabled |
| wrap | string | Pane wrap flag |
Paste buffer5
| Name | Type | Summary |
|---|---|---|
| buffer | time | Time buffer created |
| buffer | string | Full buffer content |
| buffer | string | Name of buffer |
| buffer | string | Sample of start of buffer |
| buffer | string | Size of the specified buffer in bytes |
Server19
| Name | Type | Summary |
|---|---|---|
| buffer | string | Not in the manual. |
| client | string | Not in the manual. |
| config | string | List of configuration files loaded |
| host | string | Hostname of local host |
| host | string | Hostname of local host (no domain name) |
| loop | string | 1 if last window, pane, session, client in the W:, P:, S:, or L: loop |
| next | string | Unique session ID for next new session |
| pane | string | 1 if format is for a pane |
| pid | string | Server PID |
| server | string | Number of sessions |
| session | string | 1 if format is for a session |
| sixel | string | 1 if server has support for SIXEL |
| socket | string | Server socket path |
| start | time | Server start time |
| tree | string | Not in the manual. |
| uid | string | Server UID |
| user | string | Server user |
| version | string | Server version |
| window | string | 1 if format is for a window |
Client28
| Name | Type | Summary |
|---|---|---|
| client | time | Time client last had activity |
| client | string | Height of each client cell in pixels |
| client | string | Width of each client cell in pixels |
| client | string | 1 if client is in control mode |
| client | time | Time client created |
| client | string | Bytes discarded when client behind |
| client | string | List of client flags |
| client | string | Height of client |
| client | string | Current key table |
| client | string | Name of the client's last session |
| client | string | Name of client |
| client | string | PID of client process |
| client | string | 1 if prefix key has been pressed |
| client | string | 1 if client is read-only |
| client | string | Name of the client's session |
| client | string | Terminal features of client, if any |
| client | string | Terminal name of client |
| client | string | Terminal type of client, if available |
| client | string | Not in the manual. |
| client | string | Pseudo terminal of client |
| client | string | UID of client process |
| client | string | User of client process |
| client | string | 1 if client supports UTF-8 |
| client | string | Width of client |
| client | string | Bytes written to client |
| window | string | 1 if window is larger than client |
| window | string | X offset into window if larger than client |
| window | string | Y offset into window if larger than client |
Command4
| Name | Type | Summary |
|---|---|---|
| command | string | Name of command in use, if any |
| command | string | Command alias if listing commands |
| command | string | Command name if listing commands |
| command | string | Command usage if listing commands |
Copy7
| Name | Type | Summary |
|---|---|---|
| copy | string | Hyperlink under cursor in copy mode |
| copy | string | Line the cursor is on in copy mode |
| copy | string | Word under cursor in copy mode |
| copy | string | Cursor X position in copy mode |
| copy | string | Cursor Y position in copy mode |
| copy | string | Position shown in the copy mode indicator |
| copy | string | Limit shown in the copy mode indicator |
Hook7
| Name | Type | Summary |
|---|---|---|
| hook | string | Name of running hook, if any |
| hook | string | Name of client where hook was run, if any |
| hook | string | ID of pane where hook was run, if any |
| hook | string | ID of session where hook was run, if any |
| hook | string | Name of session where hook was run, if any |
| hook | string | ID of window where hook was run, if any |
| hook | string | Name of window where hook was run, if any |
Key9
| Name | Type | Summary |
|---|---|---|
| key | string | Command of the key binding |
| key | string | 1 if list contain a repeatable key |
| key | string | Note of the key binding |
| key | string | Global key prefix |
| key | string | 1 if key binding is repeatable |
| key | string | String representation of the key binding |
| key | string | Maximum key_string width in list |
| key | string | Table name of the key binding |
| key | string | Maximum key_table width in list |
Mouse8
| Name | Type | Summary |
|---|---|---|
| mouse | string | Hyperlink under mouse, if any |
| mouse | string | Line under mouse, if any |
| mouse | string | Not in the manual. |
| mouse | string | Status line on which mouse event took place |
| mouse | string | Range type or argument of mouse event on status line |
| mouse | string | Word under mouse, if any |
| mouse | string | Mouse X position, if any |
| mouse | string | Mouse Y position, if any |
Popup17
| Name | Type | Summary |
|---|---|---|
| popup | string | Centered in the client |
| popup | string | Centered in the client |
| popup | string | Height of menu or popup |
| popup | string | Bottom of at the mouse |
| popup | string | Horizontal centre at the mouse |
| popup | string | Vertical centre at the mouse |
| popup | string | Top at the mouse |
| popup | string | Mouse X position |
| popup | string | Mouse Y position |
| popup | string | Bottom of the pane |
| popup | string | Left of the pane |
| popup | string | Right of the pane |
| popup | string | Top of the pane |
| popup | string | Above or below the status line |
| popup | string | Width of menu or popup |
| popup | string | At the window position in status line |
| popup | string | At the status line showing the window |
Search4
| Name | Type | Summary |
|---|---|---|
| search | string | Count of search results |
| search | string | 1 if search count is partial count |
| search | string | Search match if any |
| search | string | 1 if search started in copy mode |
Selection7
| Name | Type | Summary |
|---|---|---|
| selection | string | 1 if selection started and changes with the cursor in copy mode |
| selection | string | X position of the end of the selection |
| selection | string | Y position of the end of the selection |
| selection | string | Selection mode |
| selection | string | 1 if selection started in copy mode |
| selection | string | X position of the start of the selection |
| selection | string | Y position of the start of the selection |
Window30
| Name | Type | Summary |
|---|---|---|
| window | string | 1 if window active |
| window | string | Number of clients viewing this window |
| window | string | List of clients viewing this window |
| window | string | Number of sessions on which this window is active |
| window | string | List of sessions on which this window is active |
| window | time | Time of window last activity |
| window | string | 1 if window has activity |
| window | string | 1 if window has bell |
| window | string | Height of each cell in pixels |
| window | string | Width of each cell in pixels |
| window | string | 1 if window has the highest index |
| window | string | Window flags with # escaped as ## |
| window | string | Height of window |
| window | string | Unique window ID |
| window | string | Index of window |
| window | string | 1 if window is the last used |
| window | string | Window layout description, ignoring zoomed window panes |
| window | string | 1 if window is linked across sessions |
| window | string | Number of sessions this window is linked to |
| window | string | List of sessions this window is linked to |
| window | string | 1 if window contains the marked pane |
| window | string | Name of window |
| window | string | Number of panes in window |
| window | string | Window flags with nothing escaped |
| window | string | 1 if window has silence alert |
| window | string | Index in session most recent stack |
| window | string | 1 if window has the lowest index |
| window | string | Window layout description, respecting zoomed window panes |
| window | string | Width of window |
| window | string | 1 if window is zoomed |
Other8
| Name | Type | Summary |
|---|---|---|
| current | string | Current configuration file |
| line | string | Line number in the list |
| next | string | 1 if next window in W: loop is active |
| next | string | Index of next window in W: loop |
| prev | string | 1 if previous window in W: loop is active |
| prev | string | Index of previous window in W: loop |
| rectangle | string | 1 if rectangle selection is activated |
| scroll | string | Scroll position in copy mode |
No entries match. Clear the filter to see all 258.