summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-10-21 00:22:39 +0200
committerFlorent Le Coz <louiz@louiz.org>2013-10-21 00:22:39 +0200
commit32308646de42ae11f60177d795dffe8e3070a961 (patch)
treea8b7fca08462d620c92c7e34fef1e80cfa25cb24 /src
parentb12a6b3ba993f7ee515b39edee1816a2b3587e6c (diff)
downloadpoezio-32308646de42ae11f60177d795dffe8e3070a961.tar.gz
poezio-32308646de42ae11f60177d795dffe8e3070a961.tar.bz2
poezio-32308646de42ae11f60177d795dffe8e3070a961.tar.xz
poezio-32308646de42ae11f60177d795dffe8e3070a961.zip
And I forgot to scp this file :x
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 3d38ec2b..4dc01316 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1378,7 +1378,7 @@ class MucTab(ChatTab):
word_list = [user.nick for user in sorted(self.users, key=compare_users, reverse=True)\
if user.nick != self.own_nick]
after = config.get('after_completion', ',')+" "
- input_pos = self.input.pos + self.input.line_pos
+ input_pos = self.input.pos
if ' ' not in self.input.get_text()[:input_pos] or (self.input.last_completion and\
self.input.get_text()[:input_pos] == self.input.last_completion + after):
add_after = after
@@ -1936,7 +1936,7 @@ class PrivateTab(ChatTab):
word_list = [user.nick for user in sorted(self.parent_muc.users, key=compare_users, reverse=True)\
if user.nick != self.own_nick]
after = config.get('after_completion', ',')+" "
- input_pos = self.input.pos + self.input.line_pos
+ input_pos = self.input.pos
if ' ' not in self.input.get_text()[:input_pos] or (self.input.last_completion and\
self.input.get_text()[:input_pos] == self.input.last_completion + after):
add_after = after