diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-01-12 07:13:02 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-01-12 07:13:02 +0100 |
commit | fce9a60f9a4b7ff7273e3351336ef5e268178ff3 (patch) | |
tree | a9c619e516c8dd509b910c2d6c5246a53193491e /src/tabs.py | |
parent | 469bbd29006cdf660e7a2deaf171ec71c1f1c031 (diff) | |
download | poezio-fce9a60f9a4b7ff7273e3351336ef5e268178ff3.tar.gz poezio-fce9a60f9a4b7ff7273e3351336ef5e268178ff3.tar.bz2 poezio-fce9a60f9a4b7ff7273e3351336ef5e268178ff3.tar.xz poezio-fce9a60f9a4b7ff7273e3351336ef5e268178ff3.zip |
Fix M-b and M-f, fixed #2102
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py index e3418491..d1feffbb 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -37,6 +37,7 @@ import curses import difflib import shlex import text_buffer +import string from sleekxmpp.xmlstream.stanzabase import JID from config import config @@ -230,8 +231,7 @@ class ChatTab(Tab): Complete the input with words recently said """ # build the list of the recent words - char_we_dont_want = [',', '(', ')', '.', '"', '\'', ' ', # The last one is nbsp - '’', '“', '”', ':', ';', '[', ']', '{', '}'] + char_we_dont_want = string.punctuation+' ' words = list() for msg in self._room.messages[:-40:-1]: if not msg: |