Skip to content

Commit

Permalink
doc: readline write() is processed as input
Browse files Browse the repository at this point in the history
Fixes: #4402
PR-URL: #8295
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
jasnell authored and Myles Borins committed Sep 30, 2016
1 parent ecbd079 commit 68d182a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ rl.on('line', (line) => {
});
```

*Note*: The `rl.write()` method will write the data to the `readline`
Interface's `input` *as if it were provided by the user*.

## readline.clearLine(stream, dir)
<!-- YAML
added: v0.7.7
Expand Down

0 comments on commit 68d182a

Please sign in to comment.