We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65c9ec commit 594e3c2Copy full SHA for 594e3c2
doc/api/readline.md
@@ -452,6 +452,10 @@ autocompletion is disabled when copy-pasted input is detected.
452
453
If the `stream` is a [TTY][], then it must be in raw mode.
454
455
+*Note*: This is automatically called by any readline instance on its `input`
456
+if the `input` is a terminal. Closing the `readline` instance does not stop
457
+the `input` from emitting `'keypress'` events.
458
+
459
```js
460
readline.emitKeypressEvents(process.stdin);
461
if (process.stdin.isTTY)
0 commit comments