Permalink
Browse files

doc: readline write() is processed as input

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 Aug 27, 2016
1 parent bc6a7ca commit 54d76137cd45e143d5bdd0865c58c0d9bf1e5358
Showing with 3 additions and 0 deletions.
  1. +3 −0 doc/api/readline.md
View
@@ -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

0 comments on commit 54d7613

Please sign in to comment.