diff --git a/doc/api/tty.md b/doc/api/tty.md index 03f86cd66052fd..cbfb3cc783772d 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -86,6 +86,11 @@ characters. Ctrl+C will no longer cause a `SIGINT` when in this mode. This mode does not affect terminal output processing, such as newline translation on Unix terminals. +On Windows, `setRawMode()` requires write permission to the console input +buffer. When opening `"\\\\.\\CONIN$"` with the [`fs.open()`][] family of APIs +(for passing into `new tty.ReadStream()`), be sure to use a read/write flag +such as `'r+'`. + ## Class: `tty.WriteStream`