diff options
| author | Stephen Blott | 2017-03-22 12:36:58 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2017-03-22 12:36:58 +0000 | 
| commit | 1e6f5f7c2db2fc2a7da511c57a287f5165c8a835 (patch) | |
| tree | 28f10ab7a7270be2b82bc4e7f8c64bac7dc08ffa /lib/keyboard_utils.coffee | |
| parent | f2d27321d96cd31c63abceb3e09bfa97ca13b698 (diff) | |
| download | vimium-1e6f5f7c2db2fc2a7da511c57a287f5165c8a835.tar.bz2 | |
Note TODO re. keydown, keypress.
Diffstat (limited to 'lib/keyboard_utils.coffee')
| -rw-r--r-- | lib/keyboard_utils.coffee | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lib/keyboard_utils.coffee b/lib/keyboard_utils.coffee index 5ba47bff..ead8c037 100644 --- a/lib/keyboard_utils.coffee +++ b/lib/keyboard_utils.coffee @@ -115,6 +115,10 @@ KeyboardUtils =          if 31 < event.keyCode            String.fromCharCode event.charCode +      # TODO(smblott). Currently all (almost?) keyhandling is being done on keydown.  All legacy code related +      # to key handling on keypress should be reviewed and probably removed.  This is not being done right now +      # (2017-03-22) because it is better to wait until we've verified that the change to keydown is indeed +      # correct and reliable.        when "keydown"          if keyChar = @getKeyChar event            modifiers = [] | 
