From a14611dbde118b1ffa6f66eb7237ddc0c3c61508 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Tue, 11 May 2010 10:38:57 +0000 Subject: Fix the resize bug and avoid some blinking on resize \o/ fixed #1153 --- src/client.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/client.py') diff --git a/src/client.py b/src/client.py index 9616be1c..3480907b 100644 --- a/src/client.py +++ b/src/client.py @@ -21,7 +21,7 @@ import sys # disable any printout (this would mess the display) # sys.stdout = open('/dev/null', 'w') -# sys.stderr = open('/dev/null', 'w') +sys.stderr = open('debug', 'w') from connection import Connection from multiuserchat import MultiUserChat @@ -49,16 +49,13 @@ class Client(object): self.resource = config.get('resource', 'poezio') self.server = config.get('server', 'louiz.org') self.connection = Connection(self.server, self.resource) - # self.connection.demon = True self.connection.start() - # self.connection.run() self.stdscr = initscr() self.gui = Gui(self.stdscr, MultiUserChat(self.connection.client)) - # thread.start_new_thread(self.launch, ()) def launch(self): """ - launch + launch the gui """ self.gui.main_loop(self.stdscr) -- cgit v1.2.3