klyn.gui.terminal.ScrollView.hasSelection
property
public readonly property hasSelection as Boolean:
Description

Returns true when this view currently owns a non-empty text selection.

Example
if view.hasSelection:
print(view.selectedText())