Selection Controller
Interface for controlling text selection in the terminal. This allows external components (UI chrome, keyboard handlers, accessibility) to control selection.
Functions
Clear the selection without copying.
Copy the selected text to clipboard and clear the selection.
Finish the selection (stop extending it, but keep it active for copying).
Move the selection cursor down by one row.
Move the selection cursor left by one column.
Move the selection cursor right by one column.
Move the selection cursor up by one row.
Select only the rows currently displayed in the terminal viewport.
Set the selection mode directly.
Start selection mode at the current cursor position or center of screen.
Toggle selection mode on/off. If off, turns it on. If on, turns it off.
Toggle between CHARACTER, WORD, and LINE selection modes.