fit report to screen
This commit is contained in:
parent
cc377492bb
commit
f8519c31ce
|
@ -132,7 +132,8 @@ dispatch s = case s^.progMode of
|
||||||
|
|
||||||
| otherwise -> Controller
|
| otherwise -> Controller
|
||||||
{ drawController = \s -> do
|
{ drawController = \s -> do
|
||||||
C.drawString $ report 72 s
|
(_, cols) <- C.windowSize
|
||||||
|
C.drawString $ report (fromInteger $ pred cols) s
|
||||||
return C.CursorInvisible
|
return C.CursorInvisible
|
||||||
, handleController = \e -> do
|
, handleController = \e -> do
|
||||||
when
|
when
|
||||||
|
|
Loading…
Reference in New Issue
Block a user