chat-cli: set sane display width, if zero
Under mysterious conditions, chat-cli might get into a state where its
rendering width is set to zero. This makes sure we set it back to 80
if that's the case.
This commit is mostly just precaution.
::
^- state-1
?- -.u.old
- %1 u.old(bound (~(gas by *(map target glyph)) ~(tap by bound.u.old)))
+ %1
+ =? width.u.old =(0 width.u.old) 80
+ u.old(bound (~(gas by *(map target glyph)) ~(tap by bound.u.old)))
::
?(~ ^)
:- %1
