diff options
author | Alexander Mills <alex@oresoftware.com> | 2018-09-19 11:09:25 -0700 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-09-22 11:19:26 +0300 |
commit | 1f4d4c0da87db42f97f43d8374967071fe85b37a (patch) | |
tree | 7aec1ced348c3e9ffcae982621ac3eb0b916726f /doc | |
parent | 2b29df71ebc07cea87e14ed7f2d93e78f8b04b3c (diff) | |
download | android-node-v8-1f4d4c0da87db42f97f43d8374967071fe85b37a.tar.gz android-node-v8-1f4d4c0da87db42f97f43d8374967071fe85b37a.tar.bz2 android-node-v8-1f4d4c0da87db42f97f43d8374967071fe85b37a.zip |
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')
-rw-r--r-- | doc/api/tty.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md index cc95bfa9ae..45b66abb9e 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. |