summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-12 21:08:17 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-12 21:08:17 +0100
commit7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd (patch)
treedbb10922e8390282787a76c0b818fd1b7f9a89a1 /src/tabs.py
parent89ed92609608794132b395d3b6dec530bbaa85b7 (diff)
downloadpoezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.gz
poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.bz2
poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.xz
poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.zip
Fix //
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index c7ba1b50..2d071973 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -248,6 +248,8 @@ class ChatTab(Tab):
def on_enter(self):
txt = self.input.key_enter()
if not self.execute_command(txt):
+ if txt.startswith('//'):
+ txt = txt[1:]
self.command_say(txt)
def command_say(self, line):