summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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