-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it harder to steal character keys from the outer app (#549)
- Move "S" key processing to the demo app (nobody needs it in the library), - Require "Alt" key with numpad Plus/Minus (a kind of a breaking change but not documented and not used a lot), - Process editing keys only when editing (an additional safety measure), - Use `event.code` instead of deprecated `keyCode`. The Alt+NumPlus, Alt+NumMinus will still be processed in the miew library unless miew.enableHotKeys(false) is called.
- Loading branch information
1 parent
6acff3d
commit e35706d
Showing
2 changed files
with
63 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters