diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-23 13:46:19 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-23 13:46:19 +0000 |
commit | 0648da85bc6aa4b96beb65577377e6c9671ec138 (patch) | |
tree | 988713164c361a5748d4f8fafa517d9f9aa2e2e6 /src | |
parent | 5fa43e61e191c47f2d2c10eddedd4d1efa27ca73 (diff) | |
download | poezio-0648da85bc6aa4b96beb65577377e6c9671ec138.tar.gz poezio-0648da85bc6aa4b96beb65577377e6c9671ec138.tar.bz2 poezio-0648da85bc6aa4b96beb65577377e6c9671ec138.tar.xz poezio-0648da85bc6aa4b96beb65577377e6c9671ec138.zip |
fasten the refresh of Private and Normal tabs, on input
Diffstat (limited to 'src')
-rw-r--r-- | src/tab.py | 5 | ||||
-rw-r--r-- | src/windows.py | 1 |
2 files changed, 3 insertions, 3 deletions
@@ -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): """ |