safe-coloured-text-terminfo-0.2.0.0: Safely output coloured text
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Colour.Term

Synopsis

Documentation

putChunksUtf8 :: [Chunk] -> IO () Source #

Print a list of chunks to stdout.

This function will use getTerminalCapabilitiesHandle on stdout. If you intend to use this function more than once, it is more efficient to use getTerminalCapabilitiesFromEnv first and then use putChunksUtf8With.

putChunksLocale :: [Chunk] -> IO () Source #

Print a list of chunks to stdout in an encoding according to the system's locale.

This function will use getTerminalCapabilitiesHandle on stdout. If you intend to use this function more than once, it is more efficient to use getTerminalCapabilitiesFromEnv first and then use putChunksLocaleWith.

hPutChunksUtf8 :: Handle -> [Chunk] -> IO () Source #

Print a list of chunks to the given Handle

This function will use getTerminalCapabilitiesHandle on the given handle. If you intend to use this function more than once, it is more efficient to use getTerminalCapabilitiesHandle first and then use hPutChunksUtf8With.

hPutChunksLocale :: Handle -> [Chunk] -> IO () Source #

Print a list of chunks to the given Handle in an encoding according to the system's locale.

This function will use getTerminalCapabilitiesHandle on the given handle. If you intend to use this function more than once, it is more efficient to use getTerminalCapabilitiesHandle first and then use hPutChunksLocaleWith.