summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-10-14 16:20:58 +0000
committerFlorent Le Coz <louiz@louiz.org>2012-10-14 16:27:19 +0000
commit442e24087a35edfc5a10116361bd0a560368f043 (patch)
tree90528cafceee6bbf0c1efac2e02e5e5a5344173d
parent264f6c6c2fc4497b4d939776446afc5cec7f55eb (diff)
downloadpoezio-442e24087a35edfc5a10116361bd0a560368f043.tar.gz
poezio-442e24087a35edfc5a10116361bd0a560368f043.tar.bz2
poezio-442e24087a35edfc5a10116361bd0a560368f043.tar.xz
poezio-442e24087a35edfc5a10116361bd0a560368f043.zip
Add a space after a nick completion not at the start of the line.
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index b16f9448..de9aa4c8 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1176,7 +1176,7 @@ class MucTab(ChatTab):
self.input.get_text()[:input_pos] == self.input.last_completion + after):
add_after = after
else:
- add_after = ''
+ add_after = ' '
self.input.auto_completion(word_list, add_after, quotify=False)
empty_after = self.input.get_text() == '' or (self.input.get_text().startswith('/') and not self.input.get_text().startswith('//'))
self.send_composing_chat_state(empty_after)