Issue #51: backtick key not working in Chrome
This patch was created with help from @dezza
This commit is contained in:
parent
284d90ccc4
commit
cb3957f770
1 changed files with 7 additions and 4 deletions
|
@ -2752,7 +2752,9 @@ VT100.prototype.handleKey = function(event) {
|
||||||
case 144: /* Num Lock */ return;
|
case 144: /* Num Lock */ return;
|
||||||
case 145: /* Scroll Lock */ return;
|
case 145: /* Scroll Lock */ return;
|
||||||
case 186: /* ; */ ch = this.applyModifiers(59, event); break;
|
case 186: /* ; */ ch = this.applyModifiers(59, event); break;
|
||||||
case 187: /* = */ ch = this.applyModifiers(61, event); break;
|
// Conflicts with dead keys ` on Danish keyboard
|
||||||
|
// ¸ on Slovenian keyboard
|
||||||
|
// case 187: /* = */ ch = this.applyModifiers(61, event); break;
|
||||||
case 188: /* , */ ch = this.applyModifiers(44, event); break;
|
case 188: /* , */ ch = this.applyModifiers(44, event); break;
|
||||||
case 189: /* - */ ch = this.applyModifiers(45, event); break;
|
case 189: /* - */ ch = this.applyModifiers(45, event); break;
|
||||||
case 190: /* . */ ch = this.applyModifiers(46, event); break;
|
case 190: /* . */ ch = this.applyModifiers(46, event); break;
|
||||||
|
@ -2966,6 +2968,7 @@ VT100.prototype.keyDown = function(event) {
|
||||||
event.keyCode >= 160 && event.keyCode <= 185 || /* FF15 patch */
|
event.keyCode >= 160 && event.keyCode <= 185 || /* FF15 patch */
|
||||||
event.keyCode >= 186 && event.keyCode <= 191 ||
|
event.keyCode >= 186 && event.keyCode <= 191 ||
|
||||||
event.keyCode == 222 ||
|
event.keyCode == 222 ||
|
||||||
|
event.keyCode == 229 ||
|
||||||
event.keyCode == 252;
|
event.keyCode == 252;
|
||||||
try {
|
try {
|
||||||
if (navigator.appName == 'Konqueror') {
|
if (navigator.appName == 'Konqueror') {
|
||||||
|
|
Loading…
Reference in a new issue