Enum ControlModeState
enum ControlModeState {
Inactive,
Initiated,
Active,
EnableDisableSubmenu {
highlighted_pid: Option<u32>,
anchor_col: Option<i32>,
},
}Expand description
Enum of all possible control mode states.
Variants§
Inactive
Controle mode is inactive.
Initiated
One of the keys required for the control mode key combination is currently being pressed.
Active
All required keys for the control mode key combination were pressed and control mode is now active.
Active control mode prevents any input records from being sent to clients.
The user opened the [e]nable/disable input submenu from
ControlModeState::Active; left only via Esc, which exits
control mode entirely. highlighted_pid is the currently selected
client (None when the cluster is empty); tracking by PID survives
background-monitor retains while the submenu is open.
anchor_col is the upper-grid column carried across vertical
moves so a Down + Up roundtrip across the partial-last-row
boundary returns to the start cell. None while
highlighted_pid is None.