Browse Source

doc: readline write() is processed as input

Fixes: https://github.com/nodejs/node/issues/4402
PR-URL: https://github.com/nodejs/node/pull/8295
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v7.x
James M Snell 9 years ago
parent
commit
61fa50d298
  1. 3
      doc/api/readline.md

3
doc/api/readline.md

@ -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

Loading…
Cancel
Save