mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: clarify tty raw mode applies to input processing only
Update the setRawMode documentation to specify that raw mode disables special processing of input characters only. Output processing, such as newline translation on Unix terminals, is not affected. Fixes: https://github.com/nodejs/node/issues/63059 Signed-off-by: zeeshan56656 <zeeshan130710@gmail.com> PR-URL: https://github.com/nodejs/node/pull/63438 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
858496b453
commit
fd74eefb23
1 file changed
+4
-3
+4
-3
@@ -80,10 +80,11 @@ added: v0.7.7
|
||||
Allows configuration of `tty.ReadStream` 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
|
||||
including modifiers. Additionally, all special processing of input characters
|
||||
by the terminal is disabled, including echoing input
|
||||
characters. <kbd>Ctrl</kbd>+<kbd>C</kbd> will no longer cause a `SIGINT` when
|
||||
in this mode.
|
||||
in this mode. This mode does not affect terminal output processing, such as
|
||||
newline translation on Unix terminals.
|
||||
|
||||
## Class: `tty.WriteStream`
|
||||
|
||||
|
||||
Reference in new issue
Block a user