flowControl property

  1. @override
bool get flowControl
override

Whether software flow control (XON/XOFF) is enabled.

On most Unix-like systems, this is enabled by default, which means Ctrl-S (XOFF) and Ctrl-Q (XON) may be intercepted by the terminal driver and never reach your application.

The base implementation returns true and the setter is a no-op so custom terminal implementations are not required to implement this.

Implementation

@override
bool get flowControl => _flowControl;
  1. @override
set flowControl (bool value)
override

Enable or disable software flow control (XON/XOFF).

When enabled (default), Ctrl-S and Ctrl-Q are intercepted by the terminal for flow control and won't be received by the application.

When disabled, Ctrl-S (0x13) and Ctrl-Q (0x11) will be received as normal input events, allowing you to detect them in your app.

Flow control is a legacy feature from serial terminals and is rarely needed on modern systems. Disabling it is safe.

Implementation

@override
set flowControl(bool value) => _flowControl = value;