Skip to content

Commit

Permalink
address comments: typo, windows eof terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
AnupamaP committed Apr 1, 2021
1 parent 33a1f72 commit 9542437
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,9 @@ the best compatibility if it defines an `output.columns` property and emits
a `'resize'` event on the `output` if or when the columns ever change
([`process.stdout`][] does this automatically when it is a TTY).

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

Expand Down

0 comments on commit 9542437

Please sign in to comment.