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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Oblosys authored and MylesBorins committed Nov 28, 2017
1 parent f659e49 commit ff66d63
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 @@ -446,7 +446,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 ff66d63

Please sign in to comment.