summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-11-06 18:02:31 +0000
committerFlorent Le Coz <louiz@louiz.org>2012-11-06 18:02:31 +0000
commit7f7ec57f40ed2fb41795d52e03aed8eacc3a2f34 (patch)
treef28d34acb0718d203ad90f3488e51ca1e9b84d8a /src/tabs.py
parent356211699df62272e85510eff3115a483a1ceca2 (diff)
downloadpoezio-7f7ec57f40ed2fb41795d52e03aed8eacc3a2f34.tar.gz
poezio-7f7ec57f40ed2fb41795d52e03aed8eacc3a2f34.tar.bz2
poezio-7f7ec57f40ed2fb41795d52e03aed8eacc3a2f34.tar.xz
poezio-7f7ec57f40ed2fb41795d52e03aed8eacc3a2f34.zip
Add a add_space_after_completion bool option.
fix #2150
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 5e20a75f..41bb511e 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1180,7 +1180,7 @@ class MucTab(ChatTab):
self.input.get_text()[:input_pos] == self.input.last_completion + after):
add_after = after
else:
- add_after = ' '
+ add_after = '' if config.get('add_space_after_completion', 'true') == 'false' else ' '
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)