fasten the refresh of Private and Normal tabs, on input

parent 5fa43e61
......@@ -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):
"""
......
......@@ -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):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment