Home
last modified time | relevance | path

Searched refs:FORCE_COLOR (Results 1 – 17 of 17) sorted by relevance

/third_party/node/test/pseudo-tty/
Dtest-tty-color-support.js67 [{ COLORTERM: '24bit', FORCE_COLOR: '' }, 4],
68 [{ NO_COLOR: '1', FORCE_COLOR: '2' }, 8],
69 [{ NODE_DISABLE_COLORS: '1', FORCE_COLOR: '3' }, 24],
72 [{ TMUX: '1', FORCE_COLOR: 0 }, 1],
73 [{ NO_COLOR: 'true', FORCE_COLOR: 0, COLORTERM: 'truecolor' }, 1],
Dtest-tty-color-support-warning-2.js6 process.env.FORCE_COLOR = '3';
Dtest-tty-color-support-warning.js7 process.env.FORCE_COLOR = '3';
Dtest-tty-color-support.out1 (node:*) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
Dtest-tty-color-support-warning-2.out2 (node:*) Warning: The 'NODE_DISABLE_COLORS' env is ignored due to the 'FORCE_COLOR' env being set.
Dtest-assert-colors.js6 process.env.FORCE_COLOR = '1';
Dtest-tty-color-support-warning.out2 (node:*) Warning: The 'NODE_DISABLE_COLORS' and 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' …
/third_party/node/deps/npm/node_modules/supports-color/
Dreadme.md47 … environment variable `FORCE_COLOR=1` to forcefully enable color or `FORCE_COLOR=0` to forcefully …
Dindex.js19 forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
/third_party/node/deps/npm/node_modules/colors/lib/system/
Dsupports-colors.js41 forceColor = env.FORCE_COLOR.length === 0
42 || parseInt(env.FORCE_COLOR, 10) !== 0;
/third_party/node/lib/internal/
Dtty.js109 if (env.FORCE_COLOR !== undefined) {
110 switch (env.FORCE_COLOR) {
/third_party/node/doc/api/
Dtty.md199 * 2 colors: `FORCE_COLOR = 0` (Disables colors)
200 * 16 colors: `FORCE_COLOR = 1`
201 * 256 colors: `FORCE_COLOR = 2`
202 * 16,777,216 colors: `FORCE_COLOR = 3`
Dcli.md1232 ### `FORCE_COLOR=[1, 2, 3]`
1234 The `FORCE_COLOR` environment variable is used to
1241 When `FORCE_COLOR` is used and set to a supported value, both the `NO_COLOR`,
/third_party/node/test/sequential/
Dtest-util-debug.js66 FORCE_COLOR: forceColors ? 'true' : 'false' property
/third_party/node/deps/npm/node_modules/cliui/
DCHANGELOG.md36 * set env variable FORCE_COLOR. ([#56](https://github.com/yargs/cliui/issues/56)) ([7350e36](https:…
/third_party/node/deps/npm/node_modules/chalk/
Dreadme.md160 … environment variable `FORCE_COLOR=1` to forcefully enable color or `FORCE_COLOR=0` to forcefully …
/third_party/node/tools/
Dlint-md.mjs1403 if ('FORCE_COLOR' in env$2) {
1404 if (env$2.FORCE_COLOR === 'true') {
1406 } else if (env$2.FORCE_COLOR === 'false') {
1409 forceColor$1 = env$2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env$2.FORCE_COLOR, 10), 3);
14417 if ('FORCE_COLOR' in env$1) {
14418 forceColor = env$1.FORCE_COLOR.length === 0 || parseInt(env$1.FORCE_COLOR, 10) !== 0;
29420 if ('FORCE_COLOR' in env) {
29421 if (env.FORCE_COLOR === 'true') {
29425 if (env.FORCE_COLOR === 'false') {
29429 return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);