fit report to screen
This commit is contained in:
1 parent
cc377492bb
commit
f8519c31ce
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user