Skip to content

Tmux Format

greymd edited this page Jul 30, 2018 · 1 revision

tmux-xpanes supports tmux 1.8 and more. Therefore, following FORMATS will be used in the script. From man tmux version 1.8

Variable name Replaced with
alternate_on If pane is in alternate screen
alternate_saved_x Saved cursor X in alternate screen
alternate_saved_y Saved cursor Y in alternate screen
buffer_sample First 50 characters from the specified buffer
buffer_size Size of the specified buffer in bytes
client_activity Integer time client last had activity
client_activity_string String time client last had activity
client_created Integer time client created
client_created_string String time client created
client_cwd Working directory of client
client_height Height of client
client_last_session Name of the client's last session
client_prefix 1 if prefix key has been pressed
client_readonly 1 if client is readonly
client_session Name of the client's session
client_termname Terminal name of client
client_tty Pseudo terminal of client
client_utf8 1 if client supports utf8
client_width Width of client
cursor_flag Pane cursor flag
cursor_x Cursor X position in pane
cursor_y Cursor Y position in pane
history_bytes Number of bytes in window history
history_limit Maximum window history lines
history_size Size of history in bytes
host Hostname of local host
insert_flag Pane insert flag
keypad_cursor_flag Pane keypad cursor flag
keypad_flag Pane keypad flag
line Line number in the list
mouse_any_flag Pane mouse any flag
mouse_button_flag Pane mouse button flag
mouse_standard_flag Pane mouse standard flag
mouse_utf8_flag Pane mouse UTF-8 flag
pane_active 1 if active pane
pane_current_command Current command if available
pane_current_path Current path if available
pane_dead 1 if pane is dead
pane_height Height of pane
pane_id Unique pane ID
pane_in_mode If pane is in a mode
pane_index Index of pane
pane_pid PID of first process in pane
pane_start_command Command pane started with
pane_start_path Path pane started with
pane_tabs Pane tab positions
pane_title Title of pane
pane_tty Pseudo terminal of pane
pane_width Width of pane
saved_cursor_x Saved cursor X in pane
saved_cursor_y Saved cursor Y in pane
scroll_region_lower Bottom of scroll region in pane
scroll_region_upper Top of scroll region in pane
session_attached 1 if session attached
session_created Integer time session created
session_created_string String time session created
session_group Number of session group
session_grouped 1 if session in a group
session_height Height of session
session_id Unique session ID
session_name Name of session
session_width Width of session
session_windows Number of windows in session
window_active 1 if window active
window_find_matches Matched data from the find-window command if available
window_flags Window flags
window_height Height of window
window_id Unique window ID
window_index Index of window
window_layout Window layout description
window_name Name of window
window_panes Number of panes in window
window_width Width of window
wrap_flag Pane wrap flag
Clone this wiki locally