echoNewlineMode property Null safety

  1. @Since("2.18")
bool echoNewlineMode

Whether echo newline mode is enabled on stdin.

If enabled, newlines from the terminal will be echoed even if the regular echoMode is disabled. This mode may require lineMode to be turned on to have an effect.

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

On POSIX systems this mode is the echonl local terminal mode.

On Windows this mode cannot be set.

Implementation

@Since("2.18")
external bool get echoNewlineMode;
  1. @Since("2.18")
void echoNewlineMode=(bool echoNewlineMode)

Implementation

@Since("2.18")
external set echoNewlineMode(bool echoNewlineMode);