From 58a82f170b01994be304283b2b195ea010b561e6 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Thu, 11 Nov 2010 03:39:39 +0000 Subject: fix some issues with recent-words completion, make the ConversationTabs closable with /unquery and ignore the keyboard shortcuts not handled. fixed #1941 --- src/window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.py') 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() -- cgit v1.2.3