lineMode property

bool lineMode

Check if line mode is enabled on stdin.

Source

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.

Source

external void set lineMode(bool enabled);

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