Add a few punctuation char to avoid in recent words completion.

This commit is contained in:
Florent Le Coz 2012-05-22 21:11:32 +02:00
parent b36247e7c9
commit e1c7f63a3a

View file

@ -412,7 +412,7 @@ class ChatTab(Tab):
Complete the input with words recently said
"""
# build the list of the recent words
char_we_dont_want = string.punctuation+' '
char_we_dont_want = string.punctuation+' ’„“”…«»'
words = list()
for msg in self._text_buffer.messages[:-40:-1]:
if not msg: