From d9ae3fd5aa70851e4e7b1f2625d8ec58652d1592 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 26 Feb 2018 20:49:02 +0100 Subject: [PATCH] Fix more hinting issues --- qutebrowser/keyinput/modeparsers.py | 1 + tests/end2end/features/hints.feature | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/keyinput/modeparsers.py b/qutebrowser/keyinput/modeparsers.py index 583a65707..72f5c5027 100644 --- a/qutebrowser/keyinput/modeparsers.py +++ b/qutebrowser/keyinput/modeparsers.py @@ -170,6 +170,7 @@ class HintKeyParser(keyparser.CommandKeyParser): True if event has been handled, False otherwise. """ # FIXME rewrite this + # FIXME should backspacing be a more generic hint feature? log.keyboard.debug("Got special key 0x{:x} text {}".format( e.key(), e.text())) hintmanager = objreg.get('hintmanager', scope='tab', diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index eb6a24df9..a2ac468d0 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -338,7 +338,7 @@ Feature: Using hints And I set hints.auto_follow to unique-match And I set hints.auto_follow_timeout to 0 And I hint with args "all" - And I press the keys "ten pos" + And I press the keys "ten p" Then data/numbers/11.txt should be loaded Scenario: Scattering is ignored with number hints