Terminal.getTextSelectedFull

string getTextSelectedFull(vte.types.Format format, out size_t length)

Gets the currently selected text in the format specified by format.

Parameters

formatthe #VteFormat to use
lengtha pointer to a #gsize to store the string length

Returns

a newly allocated string containing the selected text, or null if there is no selection or the format is not supported