Does the controlling terminal support ANSI color sequences? This memoized to avoid thread-safety issues in ncurses (see #17922).
- Packageghc-9.14.1
- Exports1
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceTerminal.hs
GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12
Does the controlling terminal support ANSI color sequences? This memoized to avoid thread-safety issues in ncurses (see #17922).