Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains functions for colorful printing into terminal.
Synopsis
- data Color
- putStrFlush :: Text -> IO ()
- beautyPrint :: [IO ()] -> Text -> IO ()
- bold :: IO ()
- boldText :: Text -> IO ()
- boldDefault :: Text -> IO ()
- italic :: IO ()
- reset :: IO ()
- prompt :: IO Text
- setColor :: Color -> IO ()
- successMessage :: Text -> IO ()
- warningMessage :: Text -> IO ()
- errorMessage :: Text -> IO ()
- infoMessage :: Text -> IO ()
- skipMessage :: Text -> IO ()
Documentation
ANSI colors: come in various intensities, which are controlled by
ColorIntensity
putStrFlush :: Text -> IO () Source #
beautyPrint :: [IO ()] -> Text -> IO () Source #
Takes list of formatting options, prints text using this format options.
boldDefault :: Text -> IO () Source #
successMessage :: Text -> IO () Source #
warningMessage :: Text -> IO () Source #
errorMessage :: Text -> IO () Source #
infoMessage :: Text -> IO () Source #
skipMessage :: Text -> IO () Source #