Home
last modified time | relevance | path

Searched refs:isTTY (Results 1 – 25 of 64) sorted by relevance

123

/third_party/node/deps/npm/node_modules/mute-stream/test/
Dbasic.js92 str.isTTY = true
97 t.equal(ms.isTTY, false)
101 t.equal(ms.isTTY, true)
104 str.isTTY = false
105 t.equal(ms.isTTY, false)
108 str.isTTY = true
109 t.equal(ms.isTTY, true)
112 ms.isTTY = false
113 t.equal(ms.isTTY, false)
118 t.equal(ms.isTTY, false)
[all …]
/third_party/node/test/parallel/
Dtest-console-clear.js11 function doTest(isTTY, check) { argument
13 process.stdout.isTTY = isTTY;
Dtest-console-tty-colors.js8 function check(isTTY, colorMode, expectedColorMode, inspectOptions) { argument
28 stream.isTTY = isTTY;
Dtest-repl-colors.js22 inout.isTTY = true;
Dtest-console.js87 process.stdout.isTTY = false;
91 process.stderr.isTTY = false;
Dtest-macos-app-sandbox.js57 if (process.stdin.isTTY) {
Dtest-assert-checktag.js8 if (process.stdout.isTTY)
/third_party/node/test/pseudo-tty/
Dtest-handle-wrap-isrefed-tty.js11 const isTTY = internalBinding('tty_wrap').isTTY; constant
12 strictEqual(isTTY(0), true, 'tty_wrap: stdin is not a TTY');
Dtest-tty-stream-constructors.js12 assert.strictEqual(stream.isTTY, true);
20 assert.strictEqual(stream.isTTY, true);
Dref_keeps_node_running.js7 const { TTY, isTTY } = internalBinding('tty_wrap');
10 strictEqual(isTTY(0), true, 'fd 0 is not a TTY');
/third_party/node/deps/npm/node_modules/mute-stream/
Dmute.js56 return( (this._dest) ? this._dest.isTTY
57 : (this._src) ? this._src.isTTY
63 function setIsTTY (isTTY) { argument
65 value: isTTY,
/third_party/node/lib/
Dtty.js31 const { TTY, isTTY } = internalBinding('tty_wrap');
44 isTTY(fd);
68 this.isTTY = true;
121 WriteStream.prototype.isTTY = true; method in WriteStream
/third_party/node/deps/npm/lib/utils/
Dotplease.js19 } else if (!process.stdin.isTTY || !process.stdout.isTTY) {
/third_party/node/deps/npm/node_modules/set-blocking/
DCHANGELOG.md11 * add an isTTY check ([#3](https://github.com/yargs/set-blocking/issues/3)) ([66ce277](https://gith…
16 * stdio/stderr will not be set to blocking if isTTY === false
Dindex.js3 if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
/third_party/node/test/async-hooks/
Dtest-signalwrap.js62 const expectedLen = 2 + (!!process.stdout.isTTY || !!process.stderr.isTTY);
Dtest-ttywrap.readstream.js14 if (!process.stdin.isTTY)
/third_party/node/deps/npm/node_modules/gauge/
Dindex.js68 if (options.enabled || (options.enabled == null && this._tty && this._tty.isTTY)) {
122 (writeTo === process.stderr && process.stdout.isTTY && process.stdout) ||
123 (writeTo.isTTY && writeTo) ||
/third_party/node/benchmark/
D_benchmark_progress.js110 if (!process.stderr.isTTY || process.stdout.isTTY) {
/third_party/node/lib/internal/bootstrap/switches/
Dis_main_thread.js126 if (stdout.isTTY) {
138 if (stderr.isTTY) {
/third_party/node/doc/api/
Dtty.md22 the `process.stdout.isTTY` property is `true`:
25 $ node -p -e "Boolean(process.stdout.isTTY)"
27 $ node -p -e "Boolean(process.stdout.isTTY)" | cat
54 ### `readStream.isTTY`
250 ### `writeStream.isTTY`
/third_party/node/deps/npm/node_modules/qrcode-terminal/bin/
Dqrcode-terminal.js21 if (process.stdin.isTTY) {
/third_party/node/lib/internal/
Drepl.js52 const term = 'terminal' in opts ? opts.terminal : process.stdout.isTTY;
/third_party/node/deps/npm/node_modules/supports-color/
Dindex.js50 if (stream && !stream.isTTY && forceColor !== true) {
/third_party/node/deps/npm/node_modules/colors/lib/system/
Dsupports-colors.js72 if (stream && !stream.isTTY && forceColor !== true) {

123