mirror of https://github.com/nodejs/node.git
80ac428996
256 color would be return instead of 16m if both env variables were set * tty: improve color check order highest spec first * tty: add test for TERM and COLORTERM set * tty: move COLORTERM check outside TERM closure * tty: remove extra if check for COLORTERM Refs: https://github.com/nodejs/node/issues/27609 PR-URL: https://github.com/nodejs/node/pull/30474 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> |
||
---|---|---|
.. | ||
console-dumb-tty.js | ||
console-dumb-tty.out | ||
console_colors.js | ||
console_colors.out | ||
no_dropped_stdio.js | ||
no_dropped_stdio.out | ||
no_interleaved_stdio.js | ||
no_interleaved_stdio.out | ||
pseudo-tty.status | ||
pty_helper.py | ||
readline-dumb-tty.js | ||
readline-dumb-tty.out | ||
ref_keeps_node_running.js | ||
ref_keeps_node_running.out | ||
repl-dumb-tty.js | ||
repl-dumb-tty.out | ||
stdin-setrawmode.js | ||
stdin-setrawmode.out | ||
test-assert-colors.js | ||
test-assert-colors.out | ||
test-assert-no-color.js | ||
test-assert-no-color.out | ||
test-assert-position-indicator.js | ||
test-assert-position-indicator.out | ||
test-async-wrap-getasyncid-tty.js | ||
test-async-wrap-getasyncid-tty.out | ||
test-fatal-error.js | ||
test-fatal-error.out | ||
test-handle-wrap-isrefed-tty.js | ||
test-handle-wrap-isrefed-tty.out | ||
test-readable-tty-keepalive.js | ||
test-readable-tty-keepalive.out | ||
test-repl-external-module.js | ||
test-repl-external-module.out | ||
test-set-raw-mode-reset-process-exit.js | ||
test-set-raw-mode-reset-process-exit.out | ||
test-set-raw-mode-reset-signal.js | ||
test-set-raw-mode-reset-signal.out | ||
test-set-raw-mode-reset.js | ||
test-set-raw-mode-reset.out | ||
test-stderr-stdout-handle-sigwinch.js | ||
test-stderr-stdout-handle-sigwinch.out | ||
test-stdin-write.js | ||
test-stdin-write.out | ||
test-stdout-read.in | ||
test-stdout-read.js | ||
test-stdout-read.out | ||
test-tty-color-support.js | ||
test-tty-color-support.out | ||
test-tty-isatty.js | ||
test-tty-isatty.out | ||
test-tty-stdin-call-end.js | ||
test-tty-stdin-call-end.out | ||
test-tty-stdin-end.js | ||
test-tty-stdin-end.out | ||
test-tty-stdout-end.js | ||
test-tty-stdout-end.out | ||
test-tty-stdout-resize.js | ||
test-tty-stdout-resize.out | ||
test-tty-stream-constructors.js | ||
test-tty-stream-constructors.out | ||
test-tty-window-size.js | ||
test-tty-window-size.out | ||
test-tty-wrap.js | ||
test-tty-wrap.out | ||
testcfg.py |