aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/input.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/actions/input.js')
-rw-r--r--src/content/actions/input.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/content/actions/input.js b/src/content/actions/input.js
index 10ff835..31cfee3 100644
--- a/src/content/actions/input.js
+++ b/src/content/actions/input.js
@@ -1,16 +1,9 @@
import actions from 'content/actions';
-const asKeymapChars = (key, ctrl) => {
- if (ctrl) {
- return '<C-' + key.toUpperCase() + '>';
- }
- return key;
-};
-
-const keyPress = (key, ctrl) => {
+const keyPress = (key) => {
return {
type: actions.INPUT_KEY_PRESS,
- key: asKeymapChars(key, ctrl),
+ key,
};
};