Lines Matching refs:tty
7 <!-- source_link=lib/tty.js -->
9 The `node:tty` module provides the `tty.ReadStream` and `tty.WriteStream`
14 const tty = require('node:tty');
19 `tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by
20 default, be instances of `tty.WriteStream`. The preferred method of determining
32 manually create instances of the `tty.ReadStream` and `tty.WriteStream`
35 ## Class: `tty.ReadStream`
44 [`process.stdin`][] will be the only `tty.ReadStream` instance in a Node.js
66 A `boolean` that is always `true` for `tty.ReadStream` instances.
74 * `mode` {boolean} If `true`, configures the `tty.ReadStream` to operate as a
75 raw device. If `false`, configures the `tty.ReadStream` to operate in its
80 Allows configuration of `tty.ReadStream` so that it operates as a raw device.
88 ## Class: `tty.WriteStream`
98 `tty.WriteStream` instances created for a Node.js process and there
304 ## `tty.isatty(fd)`
313 The `tty.isatty()` method returns `true` if the given `fd` is associated with