summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2016-08-26 21:36:43 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-09-09 11:06:10 -0400
commit54d76137cd45e143d5bdd0865c58c0d9bf1e5358 (patch)
treed078a5cda45408aebe8feb2fa46f72e517782b6a /doc/api
parentbc6a7ca8e7614d6a94b49864e4c8fde1d37ecda1 (diff)
downloadnode-new-54d76137cd45e143d5bdd0865c58c0d9bf1e5358.tar.gz
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>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/readline.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md
index c01397d571..2ffe08a31b 100644
--- a/doc/api/readline.md
+++ b/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