Does the controlling terminal support ANSI color sequences? This memoized to avoid thread-safety issues in ncurses (see #17922).
- Packageghc-10.0.0.20260917
- Exports1
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceTerminal.hs
GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31
Does the controlling terminal support ANSI color sequences? This memoized to avoid thread-safety issues in ncurses (see #17922).