tty: improve color terminal color detection · nodejs/node@ddab63a · GitHub
Skip to content

Commit ddab63a

Browse files
BridgeARtargos
authored andcommitted
tty: improve color terminal color detection
This adds a couple new entries or increases the support depending on newer data. I checked ncurses, tput, supports-color, and termstandard on github. Most updates are from supports-color. PR-URL: #58146 Refs: #57998 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent d05263e commit ddab63a

2 files changed

Lines changed: 54 additions & 20 deletions

File tree

lib/internal/tty.js

Lines changed: 34 additions & 11 deletions

test/pseudo-tty/test-tty-color-support.js

Lines changed: 20 additions & 9 deletions

0 commit comments

Comments
 (0)