summaryrefslogtreecommitdiff
path: root/src/tab.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab.py')
-rw-r--r--src/tab.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/tab.py b/src/tab.py
index bef42be8..17e51476 100644
--- a/src/tab.py
+++ b/src/tab.py
@@ -254,8 +254,10 @@ class MucTab(Tab):
"\n": self.on_enter
}
if key in key_func:
- return key_func[key]()
- return self.input.do_command(key)
+ key_func[key]()
+ return False
+ self.input.do_command(key)
+ return False
def completion(self):
"""
@@ -373,7 +375,8 @@ class PrivateTab(Tab):
"\n": self.on_enter
}
if key in key_func:
- return key_func[key]()
+ key_func[key]()
+ return False
return self.input.do_command(key)
def on_enter(self):
@@ -471,7 +474,7 @@ class RosterInfoTab(Tab):
}
res = self.input.do_command(key)
if res:
- return res
+ return False
if key in key_commands:
return key_commands[key]()
@@ -621,7 +624,8 @@ class ConversationTab(Tab):
"\n": self.on_enter
}
if key in key_func:
- return key_func[key]()
+ key_func[key]()
+ return False
return self.input.do_command(key)