onOutput property

void Function(String data)? onOutput
getter/setter pair

Function that is called when the terminal emits data to the underlying program. This is typically caused by user inputs from textInput, keyInput, mouseInput, or paste.

Implementation

void Function(String data)? onOutput;