PtTerminalGetSelection()

Get a copy of the current selection

Synopsis:

char *PtTerminalGetSelection( PtWidget_t *widget );

Description:

This function returns a copy of the current selection (or NULL if there's no selection).


Note: It's your application's responsibility to free() the buffer when it's no longer needed.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTerminal