From 7ddf054d9e7e06f95e39fb5ee158ae3d9c78973b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 10 Mar 2015 11:58:55 -0400 Subject: [PATCH] fix(key) open konsole on mac with cyrillic --- lib/client/key.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/client/key.js b/lib/client/key.js index 06ccddbc..db20a49e 100644 --- a/lib/client/key.js +++ b/lib/client/key.js @@ -68,7 +68,9 @@ var CloudCmd, Util, DOM; DOT : 190, SLASH : 191, TRA : 192, /* Typewritten Reverse Apostrophe (`) */ - BACKSLASH : 220 + BACKSLASH : 220, + + BRACKET_CLOSE :221 }; KeyProto.prototype = KEY; @@ -308,22 +310,23 @@ var CloudCmd, Util, DOM; case Key.F9: CloudCmd.Menu.show(); event.preventDefault(); - break; case Key.F10: CloudCmd.Config.show(); event.preventDefault(); - break; case Key.TRA: DOM.Images.show.load('top'); - CloudCmd.Konsole.show(); - event.preventDefault(); - + break; + + case KEY.BRACKET_CLOSE: + DOM.Images.show.load('top'); + CloudCmd.Konsole.show(); + event.preventDefault(); break; case Key.SPACE: