From e82bab3f994757e98e07fed87a74b9808f32dad6 Mon Sep 17 00:00:00 2001 From: Matt McKegg Date: Mon, 31 Aug 2015 19:22:44 +1200 Subject: [PATCH] fix 'K' keybinding fixes f/atom-term2#178 --- src/term.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/term.js b/src/term.js index 626be53..33c6eae 100644 --- a/src/term.js +++ b/src/term.js @@ -2525,10 +2525,11 @@ Terminal.prototype.keyDown = function(ev) { break; // CTRL-K case 75: - if ((!isMac && ev.ctrlKey) || (isMac && ev.metaKey)) { + if ((!this.isMac && ev.ctrlKey) || (this.isMac && ev.metaKey)) { this.clear(); return cancel(ev); } + break; // F1 case 112: key = '\x1bOP';