diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-02-17 03:47:54 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-02-17 03:47:54 +0000 |
commit | 8b1487c3c350468bd5443d4c2a97898784e5760e (patch) | |
tree | e38348a49366bce7f222e4c77c4565bb4356e8e7 /src/gui.py | |
parent | cceae04061694ce8ff1d5249871c80248f994a6e (diff) | |
download | poezio-8b1487c3c350468bd5443d4c2a97898784e5760e.tar.gz poezio-8b1487c3c350468bd5443d4c2a97898784e5760e.tar.bz2 poezio-8b1487c3c350468bd5443d4c2a97898784e5760e.tar.xz poezio-8b1487c3c350468bd5443d4c2a97898784e5760e.zip |
fixed #1176 much better when the userlist needs to be refreshed
Diffstat (limited to 'src/gui.py')
-rw-r--r-- | src/gui.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -234,6 +234,7 @@ class Gui(object): def main_loop(self, stdscr): while 1: + stdscr.leaveok(1) curses.doupdate() try: key = stdscr.getkey() @@ -397,8 +398,6 @@ class Gui(object): if room == self.current_room() and msg: self.window.text_win.add_line(room, (datetime.now(), msg)) self.window.text_win.refresh(room.name) - self.window.user_win.refresh(room.users) - self.window.text_win.refresh() self.window.input.refresh() curses.doupdate() @@ -406,7 +405,6 @@ class Gui(object): line = self.window.input.get_text() self.window.input.clear_text() self.window.input.refresh() - curses.doupdate() if line == "": return if line.startswith('/'): @@ -422,6 +420,7 @@ class Gui(object): self.window.text_win.refresh(self.current_room().name) elif self.current_room().name != 'Info': self.muc.send_message(self.current_room().name, line) + curses.doupdate() self.window.input.refresh() def command_help(self, args): |