summaryrefslogtreecommitdiff
path: root/src/client.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-05-11 10:38:57 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-05-11 10:38:57 +0000
commita14611dbde118b1ffa6f66eb7237ddc0c3c61508 (patch)
tree72323783087bc71098bbbe810adeda4b5243c07d /src/client.py
parentf7ae12fc8362a5df7a82ccb8900fa8141121d3ab (diff)
downloadpoezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.tar.gz
poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.tar.bz2
poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.tar.xz
poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.zip
Fix the resize bug and avoid some blinking on resize \o/ fixed #1153
Diffstat (limited to 'src/client.py')
-rw-r--r--src/client.py7
1 files changed, 2 insertions, 5 deletions
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)