klyn.gui.terminal.ScrollView.selectedText
method
public selectedText() as String:
Description

Returns the text currently selected in the scroll view.

ANSI styling escape sequences are removed from the returned text so the clipboard receives plain content.

Example
selected = view.selectedText()