summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tab.py5
-rw-r--r--src/windows.py1
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):
"""