summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-11 19:50:47 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-11 19:50:47 +0100
commita8630190fd0ad5f686d865fed24044876c0f7184 (patch)
treed70ecac6f655be93dcd20ab436cbc48f27effb44 /src
parent26b38c810771f84b4deb7cd96a67733d71722222 (diff)
downloadpoezio-a8630190fd0ad5f686d865fed24044876c0f7184.tar.gz
poezio-a8630190fd0ad5f686d865fed24044876c0f7184.tar.bz2
poezio-a8630190fd0ad5f686d865fed24044876c0f7184.tar.xz
poezio-a8630190fd0ad5f686d865fed24044876c0f7184.zip
Avoid traceback on Enter in ChatTabs
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py1
1 files changed, 1 insertions, 0 deletions
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:]