lineMode property Null safety

bool lineMode

Check if line mode is enabled on stdin.

Implementation

external bool get lineMode;
void lineMode= (bool enabled)

Enable or disable line mode on stdin.

If enabled, characters are delayed until a new-line character is entered. If disabled, characters will be available as typed.

Default depends on the parent process, but usually enabled.

On Windows this mode can only be disabled if echoMode is disabled as well.

Implementation

external void set lineMode(bool enabled);