mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(key) open konsole on mac with cyrillic
This commit is contained in:
parent
2add21548a
commit
7ddf054d9e
1 changed files with 9 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue