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:
James M Snell authored and Myles Borins committed 2016-10-26 14:09:06 -04:00
1 parent 00ea7388cb
commit e5f4367da5
1 file changed
+3
+3
View File
@@ -316,6 +316,9 @@ rl.on('line', (line) => {
});
```
*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