pyqonsole #3062 "resize" crash [open]

Traceback (most recent call last):
 File "pyqonsole/__init__.py", line 64, in myemit
   callback(*args)
 File "pyqonsole/emulation.py", line 179, in onRcvBlock
   self.onRcvChar(char.at(0).unicode())
 File "pyqonsole/emuVt102.py", line 373, in onRcvChar
   self.tau(TY_CSI_PN(chr(cc)), self._argv[0], q)
 File "pyqonsole/emuVt102.py", line 609, in tau
   elif token == TY_CSI_PN('r'): self._setMargins(p, q)      # VT100 XXX Not in spec
 File "pyqonsole/emuVt102.py", line 1004, in _setMargins
   self._screen[0].setMargins(t, b)
 File "pyqonsole/screen.py", line 182, in setMargins
   bot -= 1
TypeError: unsupported operand type(s) for -=: 'NoneType' and 'int'
priorityimportant
typebug
done in<not specified>
closed by<not specified>