fix the resize new problem

parent 0adc5f1a
......@@ -101,7 +101,7 @@ class Gui(object):
"^P": self.rotate_rooms_right,
"\t": self.auto_completion,
"^I": self.auto_completion,
"KEY_RESIZE": self.window.resize,
"KEY_RESIZE": self.resize_window,
"KEY_BACKSPACE": self.window.input.key_backspace,
'^J': self.execute,
'\n': self.execute,
......@@ -126,6 +126,13 @@ class Gui(object):
self.handler.connect('error-message', self.room_error)
self.handler.connect('error', self.information)
def resize_window(self):
Resize the whole screen
def main_loop(self, stdscr):
main loop waiting for the user to press a key
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment