Skip to main content

SELECTION

Constant SELECTION 

Source
pub const SELECTION: Type = 21;
Expand description

Set the active screen selection.

The value must point to a GhosttySelection whose grid references are valid for this terminal’s active screen at the time of the call. The terminal copies the selection immediately and converts it to terminal-owned tracked state, so the GhosttySelection struct and its untracked grid references do not need to outlive this call.

Passing NULL clears the active screen selection.

Input type: GhosttySelection*