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 <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
jasnell authored and Fishrock123 committed Sep 9, 2016
1 parent bc6a7ca commit 54d7613
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 @@ -315,6 +315,9 @@ rl.write('Delete this!');
rl.write(null, {ctrl: true, name: 'u'});
```

*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 54d7613

Please sign in to comment.