From 9b1db7ec0bfe37e63d54848ac93fa230d73e111b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 18 Feb 2016 07:34:51 +0100 Subject: [PATCH] hints: Log the used hint chars Useful for debugging and for end2end tests. --- qutebrowser/browser/hints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index c9a722dc6..26fd02fbc 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -677,6 +677,7 @@ class HintManager(QObject): if not elems: raise cmdexc.CommandError("No elements found.") hints = self._hint_strings(elems) + log.hints.debug("hints: {}".format(', '.join(hints))) for e, hint in zip(elems, hints): label = self._draw_label(e, hint) self._context.elems[hint] = ElemTuple(e, label)