From b5527c834bacdd21745abbce07a470e2bcb32070 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 20 Jan 2014 08:38:15 +0100 Subject: [PATCH] Add a FIXME for ambigious keys --- qutebrowser/commands/keys.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qutebrowser/commands/keys.py b/qutebrowser/commands/keys.py index 72a5538b4..c9a29d77b 100644 --- a/qutebrowser/commands/keys.py +++ b/qutebrowser/commands/keys.py @@ -39,6 +39,11 @@ class KeyParser(QObject): if not cmdstr: return + # FIXME this doesn't handle ambigious keys correctly. + # + # If a keychain is ambigious, we probably should set up a QTimer with a + # configurable timeout, which triggers cmd.run() when expiring. Then + # when we enter _handle() again in time we stop the timer. try: cmd = self.key_to_cmd[cmdstr] except KeyError: