diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-11 03:39:39 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-11 03:39:39 +0000 |
commit | 58a82f170b01994be304283b2b195ea010b561e6 (patch) | |
tree | 97b3e00431ab1617c24607023f5f7634f2c7e44c /src/window.py | |
parent | f729e79aade7a1c1e2978dcf3822647351d58204 (diff) | |
download | poezio-58a82f170b01994be304283b2b195ea010b561e6.tar.gz poezio-58a82f170b01994be304283b2b195ea010b561e6.tar.bz2 poezio-58a82f170b01994be304283b2b195ea010b561e6.tar.xz poezio-58a82f170b01994be304283b2b195ea010b561e6.zip |
fix some issues with recent-words completion, make the ConversationTabs closable with /unquery and ignore the keyboard shortcuts not handled. fixed #1941
Diffstat (limited to 'src/window.py')
-rw-r--r-- | src/window.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.py b/src/window.py index 64113cfb..88683853 100644 --- a/src/window.py +++ b/src/window.py @@ -976,8 +976,8 @@ class Input(Win): def do_command(self, key, reset=True): if key in self.key_func: return self.key_func[key]() - # if not key or len(key) > 1: - # return # ignore non-handled keyboard shortcuts + if not key or len(key) > 1: + return # ignore non-handled keyboard shortcuts self.reset_completion() self.text = self.text[:self.pos+self.line_pos]+key+self.text[self.pos+self.line_pos:] (y, x) = self._win.getyx() |