add a space after the nick when autocompletion is done

This commit is contained in:
Yann Leboulanger 2005-03-05 00:12:15 +00:00
parent 0bec214a8e
commit 864623f1ea
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ class gc:
begin = txt.split()[-1]
for nick in list_nick:
if nick.find(begin) == 0:
txt_buffer.insert_at_cursor(nick[len(begin):])
txt_buffer.insert_at_cursor(nick[len(begin):] + ' ')
return 1
return 0