Skip to content

doc: clarify tty raw mode scope#63336

Open
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-tty-raw-mode-input
Open

doc: clarify tty raw mode scope#63336
MukundaKatta wants to merge 1 commit into
nodejs:mainfrom
MukundaKatta:codex/doc-tty-raw-mode-input

Conversation

@MukundaKatta
Copy link
Copy Markdown

Fixes: #63059

This updates the tty.ReadStream.setRawMode() docs to clarify that raw mode disables special processing for input characters, but does not affect output written to TTY streams, such as terminal newline translation.

Validation:

  • git diff --check
  • node tools/lint-md/lint-md.mjs doc/api/tty.md

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. tty Issues and PRs related to the tty subsystem. labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. tty Issues and PRs related to the tty subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tty.ReadStream.setRawMode(true) on Unix does not disable tty output \n -> \r\n translation

2 participants