HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulesafe-coloured-text-terminfo-0.3.0.0Haskell2010

Text.Colour.Term

Synopsis
valuehPutChunksUtf8 :: Handle -> [Chunk] -> IO ()

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.

valuehPutChunksLocale :: Handle -> [Chunk] -> IO ()

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.