Add a space after a nick completion not at the start of the line.

This commit is contained in:
Florent Le Coz 2012-10-14 16:20:58 +00:00
parent 264f6c6c2f
commit 442e24087a

View file

@ -1176,7 +1176,7 @@ class MucTab(ChatTab):
self.input.get_text()[:input_pos] == self.input.last_completion + after): self.input.get_text()[:input_pos] == self.input.last_completion + after):
add_after = after add_after = after
else: else:
add_after = '' add_after = ' '
self.input.auto_completion(word_list, add_after, quotify=False) 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('//')) 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) self.send_composing_chat_state(empty_after)