lineMode property

bool lineMode

Whether line mode is enabled on stdin.

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

Default depends on the parent process, but is usually enabled.

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

Implementation

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

Implementation

external set lineMode(bool lineMode);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/Stdin/lineMode.html