diff --git a/doc/api/readline.md b/doc/api/readline.md index 4bfa3659134e6e..09ff2e62ea0c5f 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -628,12 +628,12 @@ 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, the program +When creating a `readline.Interface` using `stdin` as input stream, the program will not terminate until it receives `EOF` (Ctrl+D on -Linux/MacOS, Ctrl+Z followed by return on +Linux/macOS, Ctrl+Z followed by Return on Windows). If you want your application to exit without waiting for user input, you can -`unref` the standard input: +`unref` the standard input stream: ```js process.stdin.unref();