1 { getCommand, maybeCommand } = require 'commands'
2 { getWindowId, Bucket } = require 'utils'
8 constructor: (@window) ->
12 keypress: (keyInfo) ->
14 if command = getCommand @keys
18 else if maybeCommand @keys
24 @activeElement = element
25 console.log 'focus', @activeElement
28 console.log 'blur', @activeElement
29 delete @activeElement if @activeElement == element