Made connection manager handle resizing

This commit is contained in:
Asmageddon 2012-05-30 21:54:36 +02:00
parent 6888c6ef60
commit 265f9f295e
1 changed files with 8 additions and 0 deletions

View File

@ -186,6 +186,14 @@ class ConnectionManager(BaseMode):
self.popup.refresh() self.popup.refresh()
curses.doupdate() curses.doupdate()
def on_resize(self, *args):
BaseMode.on_resize_norefresh(self, *args)
if self.popup:
self.popup.handle_resize()
self.stdscr.erase()
self.refresh()
def _doRead(self): def _doRead(self):
# Read the character # Read the character