Basement.Terminal

basement-0.0.15: Foundation scrap box of array & string

Safe Haskell | Safe-Inferred
Language | Haskell2010

Basement.Terminal

Synopsis

- initialize :: IO ()
- getDimensions :: IO (CountOf Char, CountOf Char)

# Documentation

initialize :: IO () #

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

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.