Skip to content

Commit

Permalink
doc: document that readline write() is processed as input
Browse files Browse the repository at this point in the history
Fixes: #4402
  • Loading branch information
jasnell committed Aug 29, 2016
1 parent 4537cf2 commit 49501bf
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 49501bf

Please sign in to comment.