diff --git a/shellinabox/vt100.jspp b/shellinabox/vt100.jspp index e5f31ab..fcfb42e 100755 --- a/shellinabox/vt100.jspp +++ b/shellinabox/vt100.jspp @@ -2729,6 +2729,8 @@ VT100.prototype.handleKey = function(event) { case 123: /* F12 */ ch = '\u001B[24~'; break; case 144: /* Num Lock */ return; case 145: /* Scroll Lock */ return; + case 163: /* # for FF15 */ ch = this.applyModifiers(35, event); break; + case 173: /* - for FF15 */ ch = this.applyModifiers(45, event); break; case 186: /* ; */ ch = this.applyModifiers(59, event); break; case 187: /* = */ ch = this.applyModifiers(61, event); break; case 188: /* , */ ch = this.applyModifiers(44, event); break; @@ -2873,6 +2875,9 @@ VT100.prototype.fixEvent = function(event) { case 109: /* - -> _ */ u = 45; s = 95; break; case 111: /* / -> ? */ u = 47; s = 63; break; + case 163: /* # -> ~ FF15 */ u = 96; s = 126; break; + case 173: /* - -> _ FF15 */ u = 45; s = 95; break; + case 186: /* ; -> : */ u = 59; s = 58; break; case 187: /* = -> + */ u = 61; s = 43; break; case 188: /* , -> < */ u = 44; s = 60; break;