basement-0.0.7: Foundation scrap box of array & string

Safe HaskellNone
LanguageHaskell2010

Basement.Terminal

Synopsis

Documentation

getDimensions :: IO (CountOf Char, CountOf Char) Source #

Return the size of the current terminal

If the system is not supported or that querying the system result in an error then a default size of (80, 24) will be given back.