Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
An abstraction for colorful output in terminal.
Synopsis
The Term
abstraction
Whether to use colors and other features of ANSI terminals.
Instances
Bounded ColorMode Source # | |
Enum ColorMode Source # | |
Defined in Ormolu.Terminal succ :: ColorMode -> ColorMode # pred :: ColorMode -> ColorMode # fromEnum :: ColorMode -> Int # enumFrom :: ColorMode -> [ColorMode] # enumFromThen :: ColorMode -> ColorMode -> [ColorMode] # enumFromTo :: ColorMode -> ColorMode -> [ColorMode] # enumFromThenTo :: ColorMode -> ColorMode -> ColorMode -> [ColorMode] # | |
Show ColorMode Source # | |
Eq ColorMode Source # | |
runTermPure :: Term -> Text Source #
Styling
Printing
putOutputable :: Outputable a => a -> Term Source #
Output an Outputable
value.