From a8630190fd0ad5f686d865fed24044876c0f7184 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 11 Jan 2011 19:50:47 +0100 Subject: [PATCH] Avoid traceback on Enter in ChatTabs --- src/tabs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tabs.py b/src/tabs.py index 6396b833..0a16b71a 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -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:]