summaryrefslogtreecommitdiff
path: root/doc/api/readline.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/readline.markdown')
-rw-r--r--doc/api/readline.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/readline.markdown b/doc/api/readline.markdown
index c2b77c5245..db543d2306 100644
--- a/doc/api/readline.markdown
+++ b/doc/api/readline.markdown
@@ -354,6 +354,11 @@ a `'resize'` event on the `output` if/when the columns ever change
Move cursor to the specified position in a given TTY stream.
+## readline.emitKeypressEvents(stream)
+
+Causes `stream` to begin emitting `'keypress'` events corresponding to its
+input.
+
## readline.moveCursor(stream, dx, dy)
Move cursor relative to it's current position in a given TTY stream.