Try to detect how many colours a given handle can handle.
This function does the same as getTerminalCapabilitiesFromEnv but returns WithoutColours is not a terminal device.
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11
Moduleopt-env-conf-0.15.0.3Haskell2010
Try to detect how many colours a given handle can handle.
This function does the same as getTerminalCapabilitiesFromEnv but returns WithoutColours is not a terminal device.