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>
This commit is contained in:
parent
4537cf2377
commit
61fa50d298
@ -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…
x
Reference in New Issue
Block a user