setRawMode method

TTYReadStream setRawMode(
  1. bool mode
)

Allows configuration of this stream so that it operates as a raw device.

When in raw mode, input is always available character-by-character, not including modifiers. Additionally, all special processing of characters by the terminal is disabled, including echoing input characters. CTRL+C will no longer cause a SIGINT when in this mode.

Implementation

external TTYReadStream setRawMode(bool mode);