summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-18 00:21:53 +0200
committermathieui <mathieui@mathieui.net>2012-04-18 00:21:53 +0200
commit5c06af299e51f7861649bcd74127ac8c40de09c1 (patch)
tree5fe378b72496c9ffe21288a22c754e73b49b8280 /src/tabs.py
parent1fdb91a98393aa0ad2f9b844cec7d714b4a3f2f7 (diff)
downloadpoezio-5c06af299e51f7861649bcd74127ac8c40de09c1.tar.gz
poezio-5c06af299e51f7861649bcd74127ac8c40de09c1.tar.bz2
poezio-5c06af299e51f7861649bcd74127ac8c40de09c1.tar.xz
poezio-5c06af299e51f7861649bcd74127ac8c40de09c1.zip
Fix some completions accordingly (name/groupadd/groupremove)
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 0814d2fc..c2e2fc57 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1961,7 +1961,7 @@ class RosterInfoTab(Tab):
def completion_name(self, the_input):
text = the_input.get_text()
- n = len(text.split())
+ n = len(common.shell_split(text))
if text.endswith(' '):
n += 1
@@ -1972,7 +1972,7 @@ class RosterInfoTab(Tab):
def completion_groupadd(self, the_input):
text = the_input.get_text()
- n = len(text.split())
+ n = len(common.shell_split(text))
if text.endswith(' '):
n += 1
@@ -1986,7 +1986,7 @@ class RosterInfoTab(Tab):
def completion_groupremove(self, the_input):
text = the_input.get_text()
- args = text.split()
+ args = common.shell_split(text)
n = len(args)
if text.endswith(' '):
n += 1