Add logging to basekeyparser
This commit is contained in:
parent
dd3ab0e336
commit
68ff922525
@ -173,9 +173,13 @@ class BaseKeyParser(QObject):
|
|||||||
(match, binding) = self._match_key(cmd_input)
|
(match, binding) = self._match_key(cmd_input)
|
||||||
|
|
||||||
if match == self.Match.definitive:
|
if match == self.Match.definitive:
|
||||||
|
logging.debug("Definitive match for "
|
||||||
|
"\"{}\".".format(self._keystring))
|
||||||
self._keystring = ''
|
self._keystring = ''
|
||||||
self.execute(binding, self.Type.chain, count)
|
self.execute(binding, self.Type.chain, count)
|
||||||
elif match == self.Match.ambiguous:
|
elif match == self.Match.ambiguous:
|
||||||
|
logging.debug("Ambigious match for "
|
||||||
|
"\"{}\".".format(self._keystring))
|
||||||
self._handle_ambiguous_match(binding, count)
|
self._handle_ambiguous_match(binding, count)
|
||||||
elif match == self.Match.partial:
|
elif match == self.Match.partial:
|
||||||
logging.debug("No match for \"{}\" (added {})".format(
|
logging.debug("No match for \"{}\" (added {})".format(
|
||||||
|
Loading…
Reference in New Issue
Block a user