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