diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.py b/src/window.py index dd047335..7ba09b6c 100644 --- a/src/window.py +++ b/src/window.py @@ -584,7 +584,7 @@ class Input(Win): (y, x) = self.win.getyx() if not self.last_completion: # begin is the begining of the nick we want to complete - if self.text != '': + if self.text.strip() != '': begin = self.text.split()[-1].encode('utf-8').lower() else: begin = '' |