Skip to content

Commit

Permalink
doc: fix emitKeypressEvents stream type
Browse files Browse the repository at this point in the history
PR-URL: #15399
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Oblosys authored and jasnell committed Sep 15, 2017
1 parent d8a0364 commit 8bd1668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bd1668

Please sign in to comment.