summaryrefslogtreecommitdiff
path: root/doc/api/readline.md
diff options
context:
space:
mode:
authorOblosys <martijn@oblomov.com>2017-09-14 01:31:37 +0200
committerJames M Snell <jasnell@gmail.com>2017-09-15 09:40:20 -0700
commit8bd1668ca5fe0b0d3f78609ba3d6bc173bce6f98 (patch)
tree8819d73efb39c568123b03a0d6cfee64c6ff48e9 /doc/api/readline.md
parentd8a0364ad576f7a4a5b41a2367d8fd88a80b2832 (diff)
downloadandroid-node-v8-8bd1668ca5fe0b0d3f78609ba3d6bc173bce6f98.tar.gz
android-node-v8-8bd1668ca5fe0b0d3f78609ba3d6bc173bce6f98.tar.bz2
android-node-v8-8bd1668ca5fe0b0d3f78609ba3d6bc173bce6f98.zip
doc: fix emitKeypressEvents stream type
PR-URL: https://github.com/nodejs/node/pull/15399 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/readline.md')
-rw-r--r--doc/api/readline.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md
index 603a5ec188..da5197b022 100644
--- a/doc/api/readline.md
+++ b/doc/api/readline.md
@@ -453,7 +453,7 @@ added: v0.7.7
* `stream` {Readable}
* `interface` {readline.Interface}
-The `readline.emitKeypressEvents()` method causes the given [Writable][]
+The `readline.emitKeypressEvents()` method causes the given [Readable][]
`stream` to begin emitting `'keypress'` events corresponding to received input.
Optionally, `interface` specifies a `readline.Interface` instance for which