From e79117380b84a6a9c303405c6b9a19054f036e8a Mon Sep 17 00:00:00 2001
From: Muhammad Zeeshan <61280174+zeeshan56656@users.noreply.github.com>
Date: Tue, 19 May 2026 17:28:36 +0000
Subject: [PATCH] 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
---
doc/api/tty.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/doc/api/tty.md b/doc/api/tty.md
index a7c4c3a48d8707..03f86cd66052fd 100644
--- a/doc/api/tty.md
+++ b/doc/api/tty.md
@@ -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. Ctrl+C 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`