Struct tmux_interface::formats::formats::Formats
source · pub struct Formats {
pub separator: char,
pub variables: Vec<Variable>,
}Fields§
§separator: char§variables: Vec<Variable>Implementations§
source§impl Formats
impl Formats
pub fn new() -> Self
sourcepub fn alternate_on(&mut self) -> &mut Self
pub fn alternate_on(&mut self) -> &mut Self
alternate_on - if pane is in alternate screen
sourcepub fn alternate_saved_x(&mut self) -> &mut Self
pub fn alternate_saved_x(&mut self) -> &mut Self
alternate_saved_x - Saved cursor X in alternate screen
sourcepub fn alternate_saved_y(&mut self) -> &mut Self
pub fn alternate_saved_y(&mut self) -> &mut Self
alternate_saved_y - Saved cursor Y in alternate screen
sourcepub fn buffer_created(&mut self) -> &mut Self
pub fn buffer_created(&mut self) -> &mut Self
buffer_created - Time buffer created
sourcepub fn buffer_name(&mut self) -> &mut Self
pub fn buffer_name(&mut self) -> &mut Self
buffer_name - Name of buffer
sourcepub fn buffer_sample(&mut self) -> &mut Self
pub fn buffer_sample(&mut self) -> &mut Self
buffer_sample - First 50 characters from the specified buffer
sourcepub fn buffer_size(&mut self) -> &mut Self
pub fn buffer_size(&mut self) -> &mut Self
buffer_size - Size of the specified buffer in bytes
sourcepub fn client_activity(&mut self) -> &mut Self
pub fn client_activity(&mut self) -> &mut Self
client_activity - Integer time client last had activity
sourcepub fn client_cell_height(&mut self) -> &mut Self
pub fn client_cell_height(&mut self) -> &mut Self
client_cell_height - Height of each client cell in pixels
sourcepub fn client_cell_width(&mut self) -> &mut Self
pub fn client_cell_width(&mut self) -> &mut Self
client_cell_width - Width of each client cell in pixels
sourcepub fn client_created(&mut self) -> &mut Self
pub fn client_created(&mut self) -> &mut Self
client_created - Integer time client created
sourcepub fn client_control_mode(&mut self) -> &mut Self
pub fn client_control_mode(&mut self) -> &mut Self
client_control_mode - 1 if client is in control mode
sourcepub fn client_discarded(&mut self) -> &mut Self
pub fn client_discarded(&mut self) -> &mut Self
client_discarded - Bytes discarded when client behind
sourcepub fn client_height(&mut self) -> &mut Self
pub fn client_height(&mut self) -> &mut Self
client_height - Height of client
sourcepub fn client_key_table(&mut self) -> &mut Self
pub fn client_key_table(&mut self) -> &mut Self
client_key_table - Current key table
sourcepub fn client_last_session(&mut self) -> &mut Self
pub fn client_last_session(&mut self) -> &mut Self
client_last_session - Name of the client’s last session
sourcepub fn client_name(&mut self) -> &mut Self
pub fn client_name(&mut self) -> &mut Self
client_name - Name of client
sourcepub fn client_pid(&mut self) -> &mut Self
pub fn client_pid(&mut self) -> &mut Self
client_pid - PID of client process
sourcepub fn client_prefix(&mut self) -> &mut Self
pub fn client_prefix(&mut self) -> &mut Self
client_prefix - 1 if prefix key has been pressed
sourcepub fn client_readonly(&mut self) -> &mut Self
pub fn client_readonly(&mut self) -> &mut Self
client_readonly - 1 if client is readonly
sourcepub fn client_session(&mut self) -> &mut Self
pub fn client_session(&mut self) -> &mut Self
client_session - Name of the client’s session
sourcepub fn client_termname(&mut self) -> &mut Self
pub fn client_termname(&mut self) -> &mut Self
client_termname - Terminal name of client
sourcepub fn client_tty(&mut self) -> &mut Self
pub fn client_tty(&mut self) -> &mut Self
client_tty - Pseudo terminal of client
sourcepub fn client_utf8(&mut self) -> &mut Self
pub fn client_utf8(&mut self) -> &mut Self
client_utf8 - 1 if client supports UTF-8
sourcepub fn client_width(&mut self) -> &mut Self
pub fn client_width(&mut self) -> &mut Self
client_width - Width of client
sourcepub fn client_written(&mut self) -> &mut Self
pub fn client_written(&mut self) -> &mut Self
client_written - Bytes written to client
sourcepub fn command_hooked(&mut self) -> &mut Self
pub fn command_hooked(&mut self) -> &mut Self
command_hooked - Name of command hooked, if any
sourcepub fn command_list_name(&mut self) -> &mut Self
pub fn command_list_name(&mut self) -> &mut Self
command_list_name - Command name if listing commands
sourcepub fn command_list_alias(&mut self) -> &mut Self
pub fn command_list_alias(&mut self) -> &mut Self
command_list_alias - Command alias if listing commands
sourcepub fn command_list_usage(&mut self) -> &mut Self
pub fn command_list_usage(&mut self) -> &mut Self
command_list_usage - Command usage if listing commands
sourcepub fn cursor_flag(&mut self) -> &mut Self
pub fn cursor_flag(&mut self) -> &mut Self
cursor_flag - Pane cursor flag
sourcepub fn cursor_character(&mut self) -> &mut Self
pub fn cursor_character(&mut self) -> &mut Self
cursor_character - Character at cursor in pane
sourcepub fn copy_cursor_line(&mut self) -> &mut Self
pub fn copy_cursor_line(&mut self) -> &mut Self
copy_cursor_line - Line the cursor is on in copy mode
sourcepub fn copy_cursor_word(&mut self) -> &mut Self
pub fn copy_cursor_word(&mut self) -> &mut Self
copy_cursor_word - Word under cursor in copy mode
sourcepub fn copy_cursor_x(&mut self) -> &mut Self
pub fn copy_cursor_x(&mut self) -> &mut Self
copy_cursor_x - Cursor X position in copy mode
sourcepub fn copy_cursor_y(&mut self) -> &mut Self
pub fn copy_cursor_y(&mut self) -> &mut Self
copy_cursor_y - Cursor Y position in copy mode
sourcepub fn current_file(&mut self) -> &mut Self
pub fn current_file(&mut self) -> &mut Self
current_file - Current configuration file
sourcepub fn histoty_bytes(&mut self) -> &mut Self
pub fn histoty_bytes(&mut self) -> &mut Self
history_bytes Number of bytes in window history
sourcepub fn history_limit(&mut self) -> &mut Self
pub fn history_limit(&mut self) -> &mut Self
history_limit Maximum window history lines
sourcepub fn history_size(&mut self) -> &mut Self
pub fn history_size(&mut self) -> &mut Self
history_size Size of history in bytes
sourcepub fn hook_session(&mut self) -> &mut Self
pub fn hook_session(&mut self) -> &mut Self
hook_session - ID of session where hook was run, if any
sourcepub fn hook_session_name(&mut self) -> &mut Self
pub fn hook_session_name(&mut self) -> &mut Self
hook_session_name - Name of session where hook was run, if any
sourcepub fn hook_window(&mut self) -> &mut Self
pub fn hook_window(&mut self) -> &mut Self
hook_window - ID of window where hook was run, if any
sourcepub fn hook_window_name(&mut self) -> &mut Self
pub fn hook_window_name(&mut self) -> &mut Self
hook_window_name - Name of window where hook was run, if any
sourcepub fn host_short(&mut self) -> &mut Self
pub fn host_short(&mut self) -> &mut Self
host_short - #h Hostname of local host (no domain name)
sourcepub fn insert_flag(&mut self) -> &mut Self
pub fn insert_flag(&mut self) -> &mut Self
insert_flag - Pane insert flag
sourcepub fn keypad_cursor_flag(&mut self) -> &mut Self
pub fn keypad_cursor_flag(&mut self) -> &mut Self
keypad_cursor_flag - Pane keypad cursor flag
sourcepub fn keypad_flag(&mut self) -> &mut Self
pub fn keypad_flag(&mut self) -> &mut Self
keypad_flag - Pane keypad flag
sourcepub fn mouse_any_flag(&mut self) -> &mut Self
pub fn mouse_any_flag(&mut self) -> &mut Self
mouse_any_flag - Pane mouse any flag
mouse_button_flag - Pane mouse button flag
sourcepub fn mouse_line(&mut self) -> &mut Self
pub fn mouse_line(&mut self) -> &mut Self
mouse_line - Line under mouse, if any
sourcepub fn mouse_standard_flag(&mut self) -> &mut Self
pub fn mouse_standard_flag(&mut self) -> &mut Self
mouse_standard_flag - Pane mouse standard flag
sourcepub fn mouse_all_flag(&mut self) -> &mut Self
pub fn mouse_all_flag(&mut self) -> &mut Self
mouse_all_flag - Pane mouse all flag
sourcepub fn mouse_word(&mut self) -> &mut Self
pub fn mouse_word(&mut self) -> &mut Self
mouse_word - Word under mouse, if any
sourcepub fn origin_flag(&mut self) -> &mut Self
pub fn origin_flag(&mut self) -> &mut Self
origin_flag - Pane origin flag
sourcepub fn pane_active(&mut self) -> &mut Self
pub fn pane_active(&mut self) -> &mut Self
pane_active - 1 if active pane
sourcepub fn pane_at_bottom(&mut self) -> &mut Self
pub fn pane_at_bottom(&mut self) -> &mut Self
pane_at_bottom - 1 if pane is at the bottom of window
sourcepub fn pane_at_left(&mut self) -> &mut Self
pub fn pane_at_left(&mut self) -> &mut Self
pane_at_left - 1 if pane is at the left of window
sourcepub fn pane_at_right(&mut self) -> &mut Self
pub fn pane_at_right(&mut self) -> &mut Self
pane_at_right - 1 if pane is at the right of window
sourcepub fn pane_at_top(&mut self) -> &mut Self
pub fn pane_at_top(&mut self) -> &mut Self
pane_at_top - 1 if pane is at the top of window
sourcepub fn pane_bottom(&mut self) -> &mut Self
pub fn pane_bottom(&mut self) -> &mut Self
pane_bottom - Bottom of pane
sourcepub fn pane_current_command(&mut self) -> &mut Self
pub fn pane_current_command(&mut self) -> &mut Self
pane_current_command - Current command if available
sourcepub fn pane_current_path(&mut self) -> &mut Self
pub fn pane_current_path(&mut self) -> &mut Self
pane_current_path - Current path if available
sourcepub fn pane_dead_status(&mut self) -> &mut Self
pub fn pane_dead_status(&mut self) -> &mut Self
pane_dead_status - Exit status of process in dead pane
sourcepub fn pane_format(&mut self) -> &mut Self
pub fn pane_format(&mut self) -> &mut Self
pane_format - 1 if format is for a pane
sourcepub fn pane_height(&mut self) -> &mut Self
pub fn pane_height(&mut self) -> &mut Self
pane_height - Height of pane
sourcepub fn pane_in_mode(&mut self) -> &mut Self
pub fn pane_in_mode(&mut self) -> &mut Self
pane_in_mode - 1 if pane is in a mode
sourcepub fn pane_index(&mut self) -> &mut Self
pub fn pane_index(&mut self) -> &mut Self
pane_index - #P Index of pane
sourcepub fn pane_input_off(&mut self) -> &mut Self
pub fn pane_input_off(&mut self) -> &mut Self
pane_input_off - 1 if input to pane is disabled
sourcepub fn pane_marked(&mut self) -> &mut Self
pub fn pane_marked(&mut self) -> &mut Self
pane_marked - 1 if this is the marked pane
sourcepub fn pane_marked_set(&mut self) -> &mut Self
pub fn pane_marked_set(&mut self) -> &mut Self
pane_marked_set - 1 if a marked pane is set
sourcepub fn pane_path(&mut self) -> &mut Self
pub fn pane_path(&mut self) -> &mut Self
pane_path - #T Path of pane (can be set by application)
sourcepub fn pane_right(&mut self) -> &mut Self
pub fn pane_right(&mut self) -> &mut Self
pane_right - Right of pane
sourcepub fn pane_search_string(&mut self) -> &mut Self
pub fn pane_search_string(&mut self) -> &mut Self
pane_search_string - Last search Option<String> in copy mode
sourcepub fn pane_start_command(&mut self) -> &mut Self
pub fn pane_start_command(&mut self) -> &mut Self
pane_start_command - Command pane started with
sourcepub fn pane_synchronized(&mut self) -> &mut Self
pub fn pane_synchronized(&mut self) -> &mut Self
pane_synchronized - 1 if pane is synchronized
sourcepub fn pane_title(&mut self) -> &mut Self
pub fn pane_title(&mut self) -> &mut Self
pane_title - #T Title of pane (can be set by application)
sourcepub fn pane_width(&mut self) -> &mut Self
pub fn pane_width(&mut self) -> &mut Self
pane_width - Width of pane
sourcepub fn saved_cursor_x(&mut self) -> &mut Self
pub fn saved_cursor_x(&mut self) -> &mut Self
saved_cursor_x - Saved cursor X in pane
sourcepub fn saved_cursor_y(&mut self) -> &mut Self
pub fn saved_cursor_y(&mut self) -> &mut Self
saved_cursor_y - Saved cursor Y in pane
sourcepub fn rectangle_toggle(&mut self) -> &mut Self
pub fn rectangle_toggle(&mut self) -> &mut Self
rectangle_toggle - 1 if rectangle selection is activated
sourcepub fn scroll_position(&mut self) -> &mut Self
pub fn scroll_position(&mut self) -> &mut Self
scroll_position - Scroll position in copy mode
sourcepub fn scroll_region_lower(&mut self) -> &mut Self
pub fn scroll_region_lower(&mut self) -> &mut Self
scroll_region_lower - Bottom of scroll region in pane
sourcepub fn scroll_region_upper(&mut self) -> &mut Self
pub fn scroll_region_upper(&mut self) -> &mut Self
scroll_region_upper - Top of scroll region in pane
sourcepub fn selection_active(&mut self) -> &mut Self
pub fn selection_active(&mut self) -> &mut Self
selection_active - 1 if selection started and changes with the curso
sourcepub fn selection_end_x(&mut self) -> &mut Self
pub fn selection_end_x(&mut self) -> &mut Self
selection_end_x - X position of the end of the selection
sourcepub fn selection_end_y(&mut self) -> &mut Self
pub fn selection_end_y(&mut self) -> &mut Self
selection_end_y - Y position of the end of the selection
sourcepub fn selection_present(&mut self) -> &mut Self
pub fn selection_present(&mut self) -> &mut Self
selection_present - 1 if selection started in copy mode
sourcepub fn selection_start_x(&mut self) -> &mut Self
pub fn selection_start_x(&mut self) -> &mut Self
selection_start_x - X position of the start of the selection
sourcepub fn selection_start_y(&mut self) -> &mut Self
pub fn selection_start_y(&mut self) -> &mut Self
selection_start_y - Y position of the start of the selection
sourcepub fn session_activity(&mut self) -> &mut Self
pub fn session_activity(&mut self) -> &mut Self
session_activity - Time of session last activity
sourcepub fn session_alerts(&mut self) -> &mut Self
pub fn session_alerts(&mut self) -> &mut Self
session_alerts - List of window indexes with alerts
sourcepub fn session_attached(&mut self) -> &mut Self
pub fn session_attached(&mut self) -> &mut Self
session_attached - Number of clients session is attached to
sourcepub fn session_attached_list(&mut self) -> &mut Self
pub fn session_attached_list(&mut self) -> &mut Self
session_attached_list - List of clients session is attached to
sourcepub fn session_created(&mut self) -> &mut Self
pub fn session_created(&mut self) -> &mut Self
session_created - Time session created
sourcepub fn session_format(&mut self) -> &mut Self
pub fn session_format(&mut self) -> &mut Self
session_format - 1 if format is for a session (not assuming the current)
sourcepub fn session_group(&mut self) -> &mut Self
pub fn session_group(&mut self) -> &mut Self
session_group - Name of session group
sourcepub fn session_group_attached(&mut self) -> &mut Self
pub fn session_group_attached(&mut self) -> &mut Self
session_group_attached - Number of clients sessions in group are attached >
sourcepub fn session_group_attached_list(&mut self) -> &mut Self
pub fn session_group_attached_list(&mut self) -> &mut Self
session_group_attached_list - List of clients sessions in group are attached to
sourcepub fn session_group_list(&mut self) -> &mut Self
pub fn session_group_list(&mut self) -> &mut Self
session_group_list - List of sessions in group
sourcepub fn session_group_many_attached(&mut self) -> &mut Self
pub fn session_group_many_attached(&mut self) -> &mut Self
session_group_many_attached - 1 if multiple clients attached to sessions in gro
sourcepub fn session_group_size(&mut self) -> &mut Self
pub fn session_group_size(&mut self) -> &mut Self
session_group_size - Size of session group
sourcepub fn session_grouped(&mut self) -> &mut Self
pub fn session_grouped(&mut self) -> &mut Self
session_grouped - 1 if session in a group
sourcepub fn session_id(&mut self) -> &mut Self
pub fn session_id(&mut self) -> &mut Self
session_id - Unique session ID
sourcepub fn session_last_attached(&mut self) -> &mut Self
pub fn session_last_attached(&mut self) -> &mut Self
session_last_attached - Time session last attached
sourcepub fn session_many_attached(&mut self) -> &mut Self
pub fn session_many_attached(&mut self) -> &mut Self
session_many_attached - 1 if multiple clients attached
sourcepub fn session_name(&mut self) -> &mut Self
pub fn session_name(&mut self) -> &mut Self
session_name - #S Name of session
sourcepub fn session_stack(&mut self) -> &mut Self
pub fn session_stack(&mut self) -> &mut Self
session_stack - Window indexes in most recent order
sourcepub fn session_windows(&mut self) -> &mut Self
pub fn session_windows(&mut self) -> &mut Self
session_windows - Number of windows in session
sourcepub fn socket_path(&mut self) -> &mut Self
pub fn socket_path(&mut self) -> &mut Self
socket_path - Server socket path
sourcepub fn start_time(&mut self) -> &mut Self
pub fn start_time(&mut self) -> &mut Self
start_time - Server start time
sourcepub fn window_active(&mut self) -> &mut Self
pub fn window_active(&mut self) -> &mut Self
window_active - 1 if window active
sourcepub fn window_active_clients(&mut self) -> &mut Self
pub fn window_active_clients(&mut self) -> &mut Self
window_active_clients - Number of clients viewing this window
sourcepub fn window_active_clients_list(&mut self) -> &mut Self
pub fn window_active_clients_list(&mut self) -> &mut Self
window_active_clients_list - List of clients viewing this window
sourcepub fn window_active_sessions(&mut self) -> &mut Self
pub fn window_active_sessions(&mut self) -> &mut Self
window_active_sessions - Number of sessions on which this window is active
sourcepub fn window_active_sessions_list(&mut self) -> &mut Self
pub fn window_active_sessions_list(&mut self) -> &mut Self
window_active_sessions_list - List of sessions on which this window is active
sourcepub fn window_activity(&mut self) -> &mut Self
pub fn window_activity(&mut self) -> &mut Self
window_activity - Time of window last activity
sourcepub fn window_activity_flag(&mut self) -> &mut Self
pub fn window_activity_flag(&mut self) -> &mut Self
window_activity_flag - 1 if window has activity
sourcepub fn window_bell_flag(&mut self) -> &mut Self
pub fn window_bell_flag(&mut self) -> &mut Self
window_bell_flag - 1 if window has bell
sourcepub fn window_bigger(&mut self) -> &mut Self
pub fn window_bigger(&mut self) -> &mut Self
window_bigger - 1 if window is larger than client
sourcepub fn window_cell_height(&mut self) -> &mut Self
pub fn window_cell_height(&mut self) -> &mut Self
window_cell_height - Height of each cell in pixels
sourcepub fn window_cell_width(&mut self) -> &mut Self
pub fn window_cell_width(&mut self) -> &mut Self
window_cell_width - Width of each cell in pixels
sourcepub fn window_end_flag(&mut self) -> &mut Self
pub fn window_end_flag(&mut self) -> &mut Self
window_end_flag - 1 if window has the highest index
sourcepub fn window_flags(&mut self) -> &mut Self
pub fn window_flags(&mut self) -> &mut Self
window_flags - #F Window flags
sourcepub fn window_raw_flags(&mut self) -> &mut Self
pub fn window_raw_flags(&mut self) -> &mut Self
window_raw_flags - Window flags with nothing escaped
sourcepub fn window_format(&mut self) -> &mut Self
pub fn window_format(&mut self) -> &mut Self
window_format - 1 if format is for a window
sourcepub fn window_height(&mut self) -> &mut Self
pub fn window_height(&mut self) -> &mut Self
window_height - Height of window
sourcepub fn window_index(&mut self) -> &mut Self
pub fn window_index(&mut self) -> &mut Self
window_index - #I Index of window
sourcepub fn window_last_flag(&mut self) -> &mut Self
pub fn window_last_flag(&mut self) -> &mut Self
window_last_flag - 1 if window is the last used
sourcepub fn window_layout(&mut self) -> &mut Self
pub fn window_layout(&mut self) -> &mut Self
window_layout - Window layout description, ignoring zoomed window panes
sourcepub fn window_linked(&mut self) -> &mut Self
pub fn window_linked(&mut self) -> &mut Self
window_linked - 1 if window is linked across sessions
sourcepub fn window_linked_sessions(&mut self) -> &mut Self
pub fn window_linked_sessions(&mut self) -> &mut Self
window_linked_sessions - Number of sessions this window is linked to
sourcepub fn window_linked_sessions_list(&mut self) -> &mut Self
pub fn window_linked_sessions_list(&mut self) -> &mut Self
window_linked_sessions_list - List of sessions this window is linked to
sourcepub fn window_marked_flag(&mut self) -> &mut Self
pub fn window_marked_flag(&mut self) -> &mut Self
window_marked_flag - 1 if window contains the marked pane
sourcepub fn window_name(&mut self) -> &mut Self
pub fn window_name(&mut self) -> &mut Self
window_name - #W Name of window
sourcepub fn window_offset_x(&mut self) -> &mut Self
pub fn window_offset_x(&mut self) -> &mut Self
window_offset_x - X offset into window if larger than client
sourcepub fn window_offset_y(&mut self) -> &mut Self
pub fn window_offset_y(&mut self) -> &mut Self
window_offset_y - Y offset into window if larger than client
sourcepub fn window_panes(&mut self) -> &mut Self
pub fn window_panes(&mut self) -> &mut Self
window_panes - Number of panes in window
sourcepub fn window_silence_flag(&mut self) -> &mut Self
pub fn window_silence_flag(&mut self) -> &mut Self
window_silence_flag - 1 if window has silence alert
sourcepub fn window_stack_index(&mut self) -> &mut Self
pub fn window_stack_index(&mut self) -> &mut Self
window_stack_index - Index in session most recent stack
sourcepub fn window_start_flag(&mut self) -> &mut Self
pub fn window_start_flag(&mut self) -> &mut Self
window_start_flag - 1 if window has the lowest index
sourcepub fn window_visible_layout(&mut self) -> &mut Self
pub fn window_visible_layout(&mut self) -> &mut Self
window_visible_layout - Window layout description, respecting zoomed window panes
sourcepub fn window_width(&mut self) -> &mut Self
pub fn window_width(&mut self) -> &mut Self
window_width - Width of window
sourcepub fn window_zoomed_flag(&mut self) -> &mut Self
pub fn window_zoomed_flag(&mut self) -> &mut Self
window_zoomed_flag - 1 if window is zoomed