Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Mills <alex@oresoftware.com>2018-09-19 21:09:25 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-09-22 11:19:26 +0300
commit1f4d4c0da87db42f97f43d8374967071fe85b37a (patch)
tree7aec1ced348c3e9ffcae982621ac3eb0b916726f /doc/api/tty.md
parent2b29df71ebc07cea87e14ed7f2d93e78f8b04b3c (diff)
tty: make `readStream.setRawMode()` return `this`
PR-URL: https://github.com/nodejs/node/pull/22950 Fixes: https://github.com/nodejs/node/issues/22916 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Diffstat (limited to 'doc/api/tty.md')
-rw-r--r--doc/api/tty.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md
index cc95bfa9ae8..45b66abb9e8 100644
--- a/doc/api/tty.md
+++ b/doc/api/tty.md
@@ -64,6 +64,7 @@ added: v0.7.7
raw device. If `false`, configures the `tty.ReadStream` to operate in its
default mode. The `readStream.isRaw` property will be set to the resulting
mode.
+* Returns: {this} - the read stream instance.
Allows configuration of `tty.ReadStream` so that it operates as a raw device.