From 0648da85bc6aa4b96beb65577377e6c9671ec138 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Tue, 23 Nov 2010 13:46:19 +0000 Subject: [PATCH] fasten the refresh of Private and Normal tabs, on input --- src/tab.py | 5 +++-- src/windows.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tab.py b/src/tab.py index 85a6de75..8ecbb637 100644 --- a/src/tab.py +++ b/src/tab.py @@ -388,7 +388,8 @@ class PrivateTab(ChatTab): if key in self.key_func: self.key_func[key]() return False - return self.input.do_command(key) + self.input.do_command(key) + return False def on_enter(self): """ @@ -637,7 +638,7 @@ class ConversationTab(ChatTab): self.key_func[key]() return False self.input.do_command(key) - return True + return False def on_enter(self): """ diff --git a/src/windows.py b/src/windows.py index 0356c813..e6d77f1c 100644 --- a/src/windows.py +++ b/src/windows.py @@ -468,7 +468,6 @@ class TextWin(Win): txt = txt[1:] first = False return lines - return lines[-len(messages):] # return only the needed number of lines def refresh(self, room): """