Closed fmthoma closed 7 years ago
DisplayRegion from Vty is just a pair of Ints, with a lot of confusion which one is the width and which one the height. We use our own Viewport type, where the semantics are clear from the named record fields.
DisplayRegion
Int
Viewport
DisplayRegion
from Vty is just a pair ofInt
s, with a lot of confusion which one is the width and which one the height. We use our ownViewport
type, where the semantics are clear from the named record fields.