pub enum FormatVariable {
Show 20 variants
SessionName,
SessionWindows,
SessionAttached,
SessionWidth,
SessionHeight,
WindowIndex,
WindowId,
WindowName,
WindowRawFlags,
WindowPanes,
WindowWidth,
WindowHeight,
WindowLayout,
WindowActive,
WindowLastFlag,
PaneIndex,
PaneId,
PaneActive,
PaneWidth,
PaneHeight,
}Expand description
A supported format variable name.
Variants§
SessionName
The session name.
SessionWindows
The number of windows in the session.
SessionAttached
The number of clients attached to the session.
SessionWidth
The session width in columns.
SessionHeight
The session height in rows.
WindowIndex
The window index within the session.
WindowId
The stable window identifier, rendered with an @ prefix.
WindowName
The window name, or an empty string when unnamed.
WindowRawFlags
The derived active or last-window marker.
WindowPanes
The number of panes in the window.
WindowWidth
The window width in columns.
WindowHeight
The window height in rows.
WindowLayout
The window layout name.
WindowActive
Whether the window is active, rendered as 1 or 0.
WindowLastFlag
Whether the window is the last window, rendered as 1 or 0.
PaneIndex
The pane index within the window.
PaneId
The stable pane identifier, rendered with a % prefix.
PaneActive
Whether the pane is active, rendered as 1 or 0.
PaneWidth
The pane width in columns.
PaneHeight
The pane height in rows.
Implementations§
Trait Implementations§
Source§impl Clone for FormatVariable
impl Clone for FormatVariable
Source§fn clone(&self) -> FormatVariable
fn clone(&self) -> FormatVariable
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FormatVariable
impl Debug for FormatVariable
Source§impl Hash for FormatVariable
impl Hash for FormatVariable
Source§impl PartialEq for FormatVariable
impl PartialEq for FormatVariable
Source§fn eq(&self, other: &FormatVariable) -> bool
fn eq(&self, other: &FormatVariable) -> bool
self and other values to be equal, and is used by ==.