Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9542437

Browse files
committedApr 1, 2021
address comments: typo, windows eof terminate
1 parent 33a1f72 commit 9542437

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎doc/api/readline.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,9 @@ the best compatibility if it defines an `output.columns` property and emits
628628
a `'resize'` event on the `output` if or when the columns ever change
629629
([`process.stdout`][] does this automatically when it is a TTY).
630630

631-
When creating a `readline.Interface` using `stdin` as input stream, the program
632-
will notterminate until it receives `EOF` (<kbd>Ctrl</kbd>+<kbd>D</kbd>).
631+
When creating a `readline.Interface` using `stdin` as input, the program
632+
will not terminate until it receives `EOF` (<kbd>Ctrl</kbd>+<kbd>D</kbd> on
633+
Linux/MacOS CTRL-Z, <kbd>Ctrl</kbd>+<kbd>Z</kbd> followed by <kbd>return</kbd>).
633634
If you want your application to exit without waiting for user input, you can
634635
`unref` the standard input:
635636

0 commit comments

Comments
 (0)
Please sign in to comment.