We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31fe3b2 commit 5921b8fCopy full SHA for 5921b8f
doc/api/readline.md
@@ -628,6 +628,12 @@ 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 does not appear to have hanged), `unref` function can be used:
632
+
633
+```js
634
+process.stdin.unref();
635
+```
636
637
### Use of the `completer` function
638
639
The `completer` function takes the current line entered by the user
0 commit comments