safe-coloured-text-terminfo-0.1.0.0: Safely output coloured text
Safe HaskellNone
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.

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

Deprecated: Use putChunksLocale, or putChunksUtf8 if you must.

Deprecated synonym of putChunksUtf8

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.

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

Deprecated: Use hPutChunksLocale, or hPutChunksUtf8 if you must.

Deprecated synonym of hPutChunksUtf8