We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5fe4a9 commit 33a1f72Copy full SHA for 33a1f72
doc/api/readline.md
@@ -628,8 +628,10 @@ the best compatibility if it defines an `output.columns` property and emits
628
a `'resize'` event on the `output` if or when the columns ever change
629
([`process.stdout`][] does this automatically when it is a TTY).
630
631
-In order to end the wait for the `stdin` input stream (so that the program
632
-does not appear to have hanged), `unref` function can be used:
+When creating a `readline.Interface` using `stdin` as input stream, the program
+will notterminate until it receives `EOF` (<kbd>Ctrl</kbd>+<kbd>D</kbd>).
633
+If you want your application to exit without waiting for user input, you can
634
+`unref` the standard input:
635
636
```js
637
process.stdin.unref();
0 commit comments