ghc-lib-parser-9.6.4.20240109: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.SysTools.Terminal

Synopsis

Documentation

stderrSupportsAnsiColors :: Bool Source #

Does the controlling terminal support ANSI color sequences? This memoized to avoid thread-safety issues in ncurses (see #17922).