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 46e15e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/api/readline.md
Expand Up @@ -628,8 +628,10 @@ 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, <kbd>Ctrl</kbd>+<kbd>Z</kbd> followed by <kbd>return</kbd> on
Windows).
If you want your application to exit without waiting for user input, you can
`unref` the standard input:

Expand Down

0 comments on commit 46e15e5

Please sign in to comment.