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 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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.