mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38:39 -09:00
Fix #2195: normalizing keybindings using localeCompare to include non english keyboards as well
5 lines
121 B
JavaScript
5 lines
121 B
JavaScript
const normalize = require('./normalize');
|
|
|
|
module.exports = (keys, commands) => {
|
|
return commands[normalize(keys)];
|
|
};
|