Closed fmthoma closed 7 years ago
type DisplayRegion = (Int, Int) from Vty is not particularly safe and should be replaced by something like data Viewport = Viewport { _width :: Int, _height :: int } throughout the application.
type DisplayRegion = (Int, Int)
Vty
data Viewport = Viewport { _width :: Int, _height :: int }
type DisplayRegion = (Int, Int)
fromVty
is not particularly safe and should be replaced by something likedata Viewport = Viewport { _width :: Int, _height :: int }
throughout the application.