Merge pull request #12 from mtlstats/fit

fit report to screen
This commit is contained in:
Jonathan Lamothe
2019-09-05 12:59:52 -04:00
committed by GitHub

View File

@@ -132,7 +132,8 @@ dispatch s = case s^.progMode of
| otherwise -> Controller
{ drawController = \s -> do
C.drawString $ report 72 s
(_, cols) <- C.windowSize
C.drawString $ report (fromInteger $ pred cols) s
return C.CursorInvisible
, handleController = \e -> do
when