Import std.term.style
ConsoleColors
function
Public Function ConsoleColors(stream: StandardStream = StandardStream.OUTPUT): ColorLevel
How many colors stream shows, which Paint goes by: NONE where it isn't a terminal, or
NO_COLOR is set and isn't empty, or TERM is "dumb"; TRUE_COLOR where COLORTERM is "truecolor" or
"24bit", or on Windows' console; INDEXED where TERM has "256color" in it; and BASIC otherwise.
Report an issue with this page or with FutureBlitz on GitHub.