Add missing height and width attributes to FormWin

Fixes a regression introduced in
cce1a4090a when displaying data forms.
This commit is contained in:
Emmanuel Gil Peyrot 2018-10-27 19:24:56 +02:00
parent cce1a4090a
commit ae12b95f92

View file

@ -373,7 +373,7 @@ class FormWin:
On resize, move and resize all the subwin and define how the text will be written
On refresh, write all the text, and refresh all the subwins
"""
__slots__ = ('_form', '_win', 'scroll_pos', 'current_input', 'inputs')
__slots__ = ('_win', 'height', 'width', '_form', 'scroll_pos', 'current_input', 'inputs')
input_classes = {
'boolean': BooleanWin,