fit report to screen

This commit is contained in:
Jonathan Lamothe 2019-09-05 12:22:25 -04:00
parent cc377492bb
commit f8519c31ce

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