fasten the refresh of Private and Normal tabs, on input
This commit is contained in:
parent
5fa43e61e1
commit
0648da85bc
2 changed files with 3 additions and 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):
|
||||
"""
|
||||
|
|
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue