Skip to content

Commit ced82e4

Browse files
committed
address comments
1 parent f6306b1 commit ced82e4

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,12 +628,12 @@ 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
631+
When creating a `readline.Interface` using `stdin` as input, the program
632632
will not terminate until it receives `EOF` (<kbd>Ctrl</kbd>+<kbd>D</kbd> on
633633
Linux/macOS, <kbd>Ctrl</kbd>+<kbd>Z</kbd> followed by <kbd>Return</kbd> on
634634
Windows).
635635
If you want your application to exit without waiting for user input, you can
636-
`unref` the standard input stream:
636+
[`unref`][] the standard input stream:
637637

638638
```js
639639
process.stdin.unref();
@@ -974,3 +974,4 @@ const { createInterface } = require('readline');
974974
[`process.stdout`]: process.md#process_process_stdout
975975
[`rl.close()`]: #readline_rl_close
976976
[reading files]: #readline_example_read_file_stream_line_by_line
977+
[`unref`]: net.md#net_socket_unref

0 commit comments

Comments
 (0)