| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent abb0f6c commit 4a6d0ac
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -118,8 +118,9 @@ the `input` stream receives a `^C`, respectively known as `SIGINT`. | |||
| 118 | 118 | ||
| 119 | 119 | `function (line) {}` | |
| 120 | 120 | ||
| 121 | - Emitted whenever the `input` stream receives a `\n`, usually received when the | ||
| 122 | - user hits enter, or return. This is a good hook to listen for user input. | ||
| 121 | + Emitted whenever the `input` stream receives an end of line (`\n`, `\r`, or | ||
| 122 | + `\r\n`), usually received when the user hits enter, or return. This is a good | ||
| 123 | + hook to listen for user input. | ||
| 123 | 124 | ||
| 124 | 125 | Example of listening for `'line'`: | |
| 125 | 126 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments