diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-12 21:08:17 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-12 21:08:17 +0100 |
commit | 7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd (patch) | |
tree | dbb10922e8390282787a76c0b818fd1b7f9a89a1 | |
parent | 89ed92609608794132b395d3b6dec530bbaa85b7 (diff) | |
download | poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.gz poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.bz2 poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.tar.xz poezio-7a9b9edee87bf85fabcd2e5164f8c1f92a9489dd.zip |
Fix //
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | src/tabs.py | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -4,9 +4,11 @@ http://codingteam.net/project/poezio/roadmap * Poezio 0.7 - dev Codename ”Koshie & Mathieui” +- Library changed from xmpppy to SleekXMPP - Introduce the roster - One to one conversations - Roster search +- Add/remove/accept/deny contact in the roster - Resizable mini-buffer displaying various informations - All colors can be changed with a theme file - /say and // commands 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): |