eve-cli-0.2.0.0

Safe HaskellNone
LanguageHaskell2010

Eve.CLI.Internal.Render

Synopsis

Documentation

renderImage :: (MonadIO m, HasStates s) => Image -> AppT s m () Source #

Render the provided image to screen

type Width = Int Source #

Terminal width in columns

type Height = Int Source #

Terminal height in rows

getSize :: (MonadIO m, HasStates s) => AppT s m (Width, Height) Source #

Get the current terminal size. Also see onResize