Avoid traceback on Enter in ChatTabs

This commit is contained in:
Florent Le Coz 2011-01-11 19:50:47 +01:00
parent 26b38c8107
commit a8630190fd

View file

@ -245,6 +245,7 @@ class ChatTab(Tab):
self.input.auto_completion(words, ' ')
def on_enter(self):
txt = self.input.key_enter()
if not Tab.on_enter(self):
if txt.startswith('//'):
txt = txt[1:]