fix traceback with bash completion
This commit is contained in:
parent
d6f4241102
commit
8e98b3954b
|
@ -1844,8 +1844,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
else:
|
else:
|
||||||
add = ' '
|
add = ' '
|
||||||
start_iter = end_iter.copy()
|
start_iter = end_iter.copy()
|
||||||
if self.last_key_tabs and with_refer_to_nick_char or \
|
if self.last_key_tabs and with_refer_to_nick_char or (text and \
|
||||||
text[-1] == ' ':
|
text[-1] == ' '):
|
||||||
# have to accomodate for the added space from last
|
# have to accomodate for the added space from last
|
||||||
# completion
|
# completion
|
||||||
# gc_refer_to_nick_char may be more than one char!
|
# gc_refer_to_nick_char may be more than one char!
|
||||||
|
|
Loading…
Reference in New Issue