summaryrefslogtreecommitdiff
path: root/morphic.js
diff options
context:
space:
mode:
Diffstat (limited to 'morphic.js')
-rw-r--r--morphic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphic.js b/morphic.js
index 66f4a32..2690f06 100644
--- a/morphic.js
+++ b/morphic.js
@@ -4508,7 +4508,7 @@ CursorMorph.prototype.processKeyPress = function (event) {
if (event.ctrlKey) {
this.ctrl(event.charCode, event.shiftKey);
} else if (event.metaKey) {
- this.cmd(event.keyCode, event.shiftKey);
+ this.cmd(event.charCode, event.shiftKey);
} else {
this.insert(
String.fromCharCode(event.charCode),