eve-cli-0.2.0.0
Eve.CLI.Internal.Render
Synopsis
renderImage :: (MonadIO m, HasStates s) => Image -> AppT s m () Source #
Render the provided image to screen
image
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
onResize