From 5c06af299e51f7861649bcd74127ac8c40de09c1 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 18 Apr 2012 00:21:53 +0200 Subject: [PATCH] Fix some completions accordingly (name/groupadd/groupremove) --- src/tabs.py | 6 +++--- 1 file 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