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