Add a few punctuation char to avoid in recent words completion.
This commit is contained in:
parent
b36247e7c9
commit
e1c7f63a3a
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ class ChatTab(Tab):
|
||||||
Complete the input with words recently said
|
Complete the input with words recently said
|
||||||
"""
|
"""
|
||||||
# build the list of the recent words
|
# build the list of the recent words
|
||||||
char_we_dont_want = string.punctuation+' '
|
char_we_dont_want = string.punctuation+' ’„“”…«»'
|
||||||
words = list()
|
words = list()
|
||||||
for msg in self._text_buffer.messages[:-40:-1]:
|
for msg in self._text_buffer.messages[:-40:-1]:
|
||||||
if not msg:
|
if not msg:
|
||||||
|
|
Loading…
Reference in a new issue