Skip to content

Commit

Permalink
fix(actions): ALT+<key> prints undefined (#164)
Browse files Browse the repository at this point in the history
Fixes #145
  • Loading branch information
elie-g authored and terkelg committed Jun 23, 2019
1 parent f60116b commit 22205d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/util/action.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

module.exports = (key, isSelect) => {
if (key.meta) return;

if (key.ctrl) {
if (key.name === 'a') return 'first';
if (key.name === 'c') return 'abort';
Expand Down

0 comments on commit 22205d6

Please sign in to comment.