Made connection manager handle resizing
This commit is contained in:
parent
6888c6ef60
commit
265f9f295e
|
@ -186,6 +186,14 @@ class ConnectionManager(BaseMode):
|
|||
self.popup.refresh()
|
||||
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):
|
||||
# Read the character
|
||||
|
|
Loading…
Reference in New Issue