Terminal.getTextSelected
string getTextSelected(vte.types.Format format)Gets the currently selected text in the format specified by format. Since 0.72, this function also supports [vte.types.Format.Html] format.
Parameters
format | the #VteFormat to use |
Returns
a newly allocated string containing the selected text, or null if there is no selection or the format is not supported