aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_key_handler.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/mode_key_handler.coffee')
-rw-r--r--content_scripts/mode_key_handler.coffee5
1 files changed, 2 insertions, 3 deletions
diff --git a/content_scripts/mode_key_handler.coffee b/content_scripts/mode_key_handler.coffee
index 6b6e4f0a..8c0ae4b8 100644
--- a/content_scripts/mode_key_handler.coffee
+++ b/content_scripts/mode_key_handler.coffee
@@ -20,7 +20,6 @@ class KeyHandlerMode extends Mode
# Reset the key state, optionally retaining the count provided.
reset: (@countPrefix = 0) ->
- bgLog "Clearing key state: #{@countPrefix} (#{@name})"
@keyState = [@keyMapping]
constructor: (options) ->
@@ -91,7 +90,7 @@ class KeyHandlerMode extends Mode
@countPrefix == 0 and @keyState.length == 1 and keyChar in (@passKeys ? "")
handleKeyChar: (keyChar) ->
- bgLog "Handle key #{keyChar} (#{@name})"
+ bgLog "handle key #{keyChar} (#{@name})"
# A count prefix applies only so long a keyChar is mapped in @keyState[0]; e.g. 7gj should be 1j.
@countPrefix = 0 unless keyChar of @keyState[0]
# Advance the key state. The new key state is the current mappings of keyChar, plus @keyMapping.
@@ -99,7 +98,7 @@ class KeyHandlerMode extends Mode
if @keyState[0].command?
command = @keyState[0]
count = if 0 < @countPrefix then @countPrefix else 1
- bgLog "Call #{command.command}[#{count}] (#{@name})"
+ bgLog " invoke #{command.command} count=#{count} "
@reset()
@commandHandler {command, count}
@suppressEvent