HR.Monad.Terminal
Contents
Description
class Monad m => MonadTerminal m where Source #
Terminal output
Since: 0.5.0.0
Methods
getWidth :: m (Maybe Int) Source #
Get the width of the terminal, if possible
putStrLn :: Text -> m () Source #
Write a string to STDOUT, appending a newline
STDOUT
Defined in HR.Monad.Terminal
getWidth :: IO (Maybe Int) Source #
putStrLn :: Text -> IO () Source #