parent
2e37f0e0dd
commit
6bf75e4200
|
@ -157,7 +157,7 @@ class Window(object):
|
||||||
def set_size(self, width, height):
|
def set_size(self, width, height):
|
||||||
assert type(width) == type(0), width
|
assert type(width) == type(0), width
|
||||||
assert type(height) == type(0), height
|
assert type(height) == type(0), height
|
||||||
self.width = width - self.mode.lmargin - self.mode.rmargin - 10
|
self.width = width - self.mode.lmargin - self.mode.rmargin
|
||||||
self.height = height - self.mode.header - self.mode.footer
|
self.height = height - self.mode.header - self.mode.footer
|
||||||
self.redraw()
|
self.redraw()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue