pub enum Variable {
Show 170 variants AlternateOn, AlternateSavedX, AlternateSavedY, BufferCreated, BufferName, BufferSample, BufferSize, ClientActivity, ClientCellHeight, ClientCellWidth, ClientCreated, ClientControlMode, ClientDiscarded, ClientHeight, ClientKeyTable, ClientLastSession, ClientName, ClientPid, ClientPrefix, ClientReadonly, ClientSession, ClientTermname, ClientTty, ClientUtf8, ClientWidth, ClientWritten, CommandHooked, Command, CommandListName, CommandListAlias, CommandListUsage, CursorFlag, CursorCharacter, CursorX, CursorY, CopyCursorLine, CopyCursorWord, CopyCursorX, CopyCursorY, CurrentFile, HistotyBytes, HistotyLimit, HistorySize, Hook, HookPane, HookSession, HookSessionName, HookWindow, HookWindowName, Host, HostShort, InsertFlag, KeypadCursorFlag, KeypadFlag, Line, MouseAnyFlag, MouseButtonFlag, MouseLine, MouseSgrFlag, MouseStandardFlag, MouseStatusLine, MouseStatusRange, MouseAllFlag, MouseWord, MouseX, MouseY, OriginFlag, PaneActive, PaneAtBottom, PaneAtLeft, PaneAtRight, PaneAtTop, PaneBottom, PaneCurrentCommand, PaneCurrentPath, PaneDead, PaneDeadStatus, PaneFormat, PaneHeight, PaneId, PaneInMode, PaneIndex, PaneInputOff, PaneLeft, PaneMarked, PaneMarkedSet, PaneMode, PanePath, PanePid, PanePipe, PaneRight, PaneSearchString, PaneStartCommand, PaneSynchronized, PaneTabs, PaneTitle, PaneTop, PaneTty, PaneUnseenChanges, PaneWidth, SavedCursorX, SavedCursorY, Pid, RectangleToggle, ScrollPosition, ScrollRegionLower, ScrollRegionUpper, SelectionActive, SelectionEndX, SelectionEndY, SelectionPresent, SelectionStartX, SelectionStartY, SessionActivity, SessionAlerts, SessionAttached, SessionAttachedList, SessionCreated, SessionFormat, SessionGroup, SessionGroupAttached, SessionGroupAttachedList, SessionGroupList, SessionGroupManyAttached, SessionGroupSize, SessionGrouped, SessionId, SessionLastAttached, SessionManyAttached, SessionName, SessionStack, SessionWindows, SocketPath, StartTime, Version, WindowActive, WindowActiveClients, WindowActiveClientsList, WindowActiveSessions, WindowActiveSessionsList, WindowActivity, WindowActivityFlag, WindowBellFlag, WindowBigger, WindowCellHeight, WindowCellWidth, WindowEndFlag, WindowFlags, WindowRawFlags, WindowFormat, WindowHeight, WindowId, WindowIndex, WindowLastFlag, WindowLayout, WindowLinked, WindowLinkedSessions, WindowLinkedSessionsList, WindowMarkedFlag, WindowName, WindowOffsetX, WindowOffsetY, WindowPanes, WindowSilenceFlag, WindowStackIndex, WindowStartFlag, WindowVisibleLayout, WindowWidth, WindowZoomedFlag, WrapFlag,
}

Variants§

§

AlternateOn

alternate_on - if pane is in alternate screen

§

AlternateSavedX

alternate_saved_x - Saved cursor X in alternate screen

§

AlternateSavedY

alternate_saved_y - Saved cursor Y in alternate screen

§

BufferCreated

buffer_created - Time buffer created

§

BufferName

buffer_name - Name of buffer

§

BufferSample

buffer_sample - First 50 characters from the specified buffer

§

BufferSize

buffer_size - Size of the specified buffer in bytes

§

ClientActivity

client_activity - Integer time client last had activity

§

ClientCellHeight

client_cell_height - Height of each client cell in pixels

§

ClientCellWidth

client_cell_width - Width of each client cell in pixels

§

ClientCreated

client_created - Integer time client created

§

ClientControlMode

client_control_mode - 1 if client is in control mode

§

ClientDiscarded

client_discarded - Bytes discarded when client behind

§

ClientHeight

client_height - Height of client

§

ClientKeyTable

client_key_table - Current key table

§

ClientLastSession

client_last_session - Name of the client’s last session

§

ClientName

client_name - Name of client

§

ClientPid

client_pid - PID of client process

§

ClientPrefix

client_prefix - 1 if prefix key has been pressed

§

ClientReadonly

client_readonly - 1 if client is readonly

§

ClientSession

client_session - Name of the client’s session

§

ClientTermname

client_termname - Terminal name of client

§

ClientTty

client_tty - Pseudo terminal of client

§

ClientUtf8

client_utf8 - 1 if client supports UTF-8

§

ClientWidth

client_width - Width of client

§

ClientWritten

client_written - Bytes written to client

§

CommandHooked

command_hooked - Name of command hooked, if any

§

Command

command - Name of command in use, if any

§

CommandListName

command_list_name - Command name if listing commands

§

CommandListAlias

command_list_alias - Command alias if listing commands

§

CommandListUsage

command_list_usage - Command usage if listing commands

§

CursorFlag

cursor_flag - Pane cursor flag

§

CursorCharacter

cursor_character - Character at cursor in pane

§

CursorX

cursor_x - Cursor X position in pane

§

CursorY

cursor_y - Cursor Y position in pane

§

CopyCursorLine

copy_cursor_line - Line the cursor is on in copy mode

§

CopyCursorWord

copy_cursor_word - Word under cursor in copy mode

§

CopyCursorX

copy_cursor_x - Cursor X position in copy mode

§

CopyCursorY

copy_cursor_y - Cursor Y position in copy mode

§

CurrentFile

current_file - Current configuration file

§

HistotyBytes

history_bytes Number of bytes in window history

§

HistotyLimit

history_limit Maximum window history lines

§

HistorySize

history_size Size of history in bytes

§

Hook

hook - Name of running hook, if any

§

HookPane

hook_pane - ID of pane where hook was run, if any

§

HookSession

hook_session - ID of session where hook was run, if any

§

HookSessionName

hook_session_name - Name of session where hook was run, if any

§

HookWindow

hook_window - ID of window where hook was run, if any

§

HookWindowName

hook_window_name - Name of window where hook was run, if any

§

Host

host - Hostname of local host

§

HostShort

host_short - #h Hostname of local host (no domain name)

§

InsertFlag

insert_flag - Pane insert flag

§

KeypadCursorFlag

keypad_cursor_flag - Pane keypad cursor flag

§

KeypadFlag

keypad_flag - Pane keypad flag

§

Line

line - Line number in the list

§

MouseAnyFlag

mouse_any_flag - Pane mouse any flag

§

MouseButtonFlag

mouse_button_flag - Pane mouse button flag

§

MouseLine

mouse_line - Line under mouse, if any

§

MouseSgrFlag

sgr_flag - Pane mouse SGR flag

§

MouseStandardFlag

mouse_standard_flag - Pane mouse standard flag

§

MouseStatusLine

mouse_status_line - Status line on which mouse event took place

§

MouseStatusRange

mouse_status_range - Range type or argument of mouse event on status line

§

MouseAllFlag

mouse_all_flag - Pane mouse all flag

§

MouseWord

mouse_word - Word under mouse, if any

§

MouseX

mouse_x - Mouse X position, if any

§

MouseY

mouse_y - Mouse Y position, if any

§

OriginFlag

origin_flag - Pane origin flag

§

PaneActive

pane_active - 1 if active pane

§

PaneAtBottom

pane_at_bottom - 1 if pane is at the bottom of window

§

PaneAtLeft

pane_at_left - 1 if pane is at the left of window

§

PaneAtRight

pane_at_right - 1 if pane is at the right of window

§

PaneAtTop

pane_at_top - 1 if pane is at the top of window

§

PaneBottom

pane_bottom - Bottom of pane

§

PaneCurrentCommand

pane_current_command - Current command if available

§

PaneCurrentPath

pane_current_path - Current path if available

§

PaneDead

pane_dead - 1 if pane is dead

§

PaneDeadStatus

pane_dead_status - Exit status of process in dead pane

§

PaneFormat

pane_format - 1 if format is for a pane

§

PaneHeight

pane_height - Height of pane

§

PaneId

pane_id - #D Unique pane ID

§

PaneInMode

pane_in_mode - 1 if pane is in a mode

§

PaneIndex

pane_index - #P Index of pane

§

PaneInputOff

pane_input_off - 1 if input to pane is disabled

§

PaneLeft

pane_left - Left of pane

§

PaneMarked

pane_marked - 1 if this is the marked pane

§

PaneMarkedSet

pane_marked_set - 1 if a marked pane is set

§

PaneMode

pane_mode - Name of pane mode, if any

§

PanePath

pane_path - #T Path of pane (can be set by application)

§

PanePid

pane_pid - PID of first process in pane

§

PanePipe

pane_pipe - 1 if pane is being piped

§

PaneRight

pane_right - Right of pane

§

PaneSearchString

Last search Option<String> in copy mode

§

PaneStartCommand

pane_start_command - Command pane started with

§

PaneSynchronized

pane_synchronized - 1 if pane is synchronized

§

PaneTabs

pane_tabs - Pane tab positions

§

PaneTitle

pane_title - #T Title of pane (can be set by application)

§

PaneTop

pane_top - Top of pane

§

PaneTty

pane_tty - Pseudo terminal of pane

§

PaneUnseenChanges

pane_unseen_changes - 1 if there were changes in pane while in mode

§

PaneWidth

pane_width - Width of pane

§

SavedCursorX

saved_cursor_x - Saved cursor X in pane

§

SavedCursorY

saved_cursor_y - Saved cursor Y in pane

§

Pid

pid - Server PID

§

RectangleToggle

rectangle_toggle - 1 if rectangle selection is activated

§

ScrollPosition

scroll_position - Scroll position in copy mode

§

ScrollRegionLower

scroll_region_lower - Bottom of scroll region in pane

§

ScrollRegionUpper

scroll_region_upper - Top of scroll region in pane

§

SelectionActive

selection_active - 1 if selection started and changes with the curso

§

SelectionEndX

selection_end_x - X position of the end of the selection

§

SelectionEndY

selection_end_y - Y position of the end of the selection

§

SelectionPresent

selection_present - 1 if selection started in copy mode

§

SelectionStartX

selection_start_x - X position of the start of the selection

§

SelectionStartY

selection_start_y - Y position of the start of the selection

§

SessionActivity

session_activity - Time of session last activity

§

SessionAlerts

session_alerts - List of window indexes with alerts

§

SessionAttached

session_attached - Number of clients session is attached to

§

SessionAttachedList

session_attached_list - List of clients session is attached to

§

SessionCreated

session_created - Time session created

§

SessionFormat

session_format - 1 if format is for a session (not assuming the current)

§

SessionGroup

session_group - Name of session group

§

SessionGroupAttached

session_group_attached - Number of clients sessions in group are attached >

§

SessionGroupAttachedList

session_group_attached_list - List of clients sessions in group are attached to

§

SessionGroupList

session_group_list - List of sessions in group

§

SessionGroupManyAttached

session_group_many_attached - 1 if multiple clients attached to sessions in gro

§

SessionGroupSize

session_size - Size of session group

§

SessionGrouped

session_grouped - 1 if session in a group

§

SessionId

session_id - Unique session ID

§

SessionLastAttached

session_last_attached - Time session last attached

§

SessionManyAttached

session_many_attached - 1 if multiple clients attached

§

SessionName

session_name - #S Name of session

§

SessionStack

session_stack - Window indexes in most recent order

§

SessionWindows

session_windows - Number of windows in session

§

SocketPath

socket_path - Server socket path

§

StartTime

start_time - Server start time

§

Version

version - Server version

§

WindowActive

window_active - 1 if window active

§

WindowActiveClients

window_active_clients - Number of clients viewing this window

§

WindowActiveClientsList

window_active_clients_list - List of clients viewing this window

§

WindowActiveSessions

window_active_sessions - Number of sessions on which this window is active

§

WindowActiveSessionsList

window_active_sessions_list - List of sessions on which this window is active

§

WindowActivity

window_activity - Time of window last activity

§

WindowActivityFlag

window_activity_flag - 1 if window has activity

§

WindowBellFlag

window_bell_flag - 1 if window has bell

§

WindowBigger

window_bigger - 1 if window is larger than client

§

WindowCellHeight

window_cell_height - Height of each cell in pixels

§

WindowCellWidth

window_cell_width - Width of each cell in pixels

§

WindowEndFlag

window_end_flag - 1 if window has the highest index

§

WindowFlags

window_flags - #F Window flags

§

WindowRawFlags

window_raw_flags - Window flags with nothing escaped

§

WindowFormat

window_format - 1 if format is for a window

§

WindowHeight

window_height - Height of window

§

WindowId

window_id - Unique window ID

§

WindowIndex

window_index - #I Index of window

§

WindowLastFlag

window_last_flag - 1 if window is the last used

§

WindowLayout

window_layout - Window layout description, ignoring zoomed window panes

§

WindowLinked

window_linked - 1 if window is linked across sessions

§

WindowLinkedSessions

window_linked_sessions - Number of sessions this window is linked to

§

WindowLinkedSessionsList

window_linked_sessions_list - List of sessions this window is linked to

§

WindowMarkedFlag

window_marked_flag - 1 if window contains the marked pane

§

WindowName

window_name - #W Name of window

§

WindowOffsetX

window_offset_x - X offset into window if larger than client

§

WindowOffsetY

window_offset_y - Y offset into window if larger than client

§

WindowPanes

window_panes - Number of panes in window

§

WindowSilenceFlag

window_silence_flag - 1 if window has silence alert

§

WindowStackIndex

window_stack_index - Index in session most recent stack

§

WindowStartFlag

window_start_flag - 1 if window has the lowest index

§

WindowVisibleLayout

window_visible_layout - Window layout description, respecting zoomed window panes

§

WindowWidth

window_width - Width of window

§

WindowZoomedFlag

window_zoomed_flag - 1 if window is zoomed

§

WrapFlag

wrap_flag - Pane wrap flag

Trait Implementations§

source§

impl Debug for Variable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Variable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.