Terminal.getHasSelection
bool getHasSelection()Checks if the terminal currently contains selected text. Note that this is different from determining if the terminal is the owner of any #GtkClipboard items.
Returns
true if part of the text in the terminal is selected.