mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
29 lines
1.5 KiB
Diff
29 lines
1.5 KiB
Diff
diff -ru shellinabox-2.14/shellinabox/vt100.js shellinabox-2.14.new/shellinabox/vt100.js
|
|
--- shellinabox-2.14/shellinabox/vt100.js 2012-04-21 21:30:44.000000000 +0400
|
|
+++ shellinabox-2.14.new/shellinabox/vt100.js 2014-03-27 16:33:31.012344164 +0400
|
|
@@ -2676,6 +2676,7 @@
|
|
switch (key) {
|
|
case 33: /* Page Up */ this.scrollBack(); return;
|
|
case 34: /* Page Down */ this.scrollFore(); return;
|
|
+ case 173: /* _ */ ch = this.applyModifiers(95, event); break;
|
|
default: break;
|
|
}
|
|
}
|
|
@@ -2738,6 +2739,7 @@
|
|
case 123: /* F12 */ ch = '\u001B[24~'; break;
|
|
case 144: /* Num Lock */ return;
|
|
case 145: /* Scroll Lock */ return;
|
|
+ case 173: /* - */ 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;
|
|
@@ -2882,6 +2884,7 @@
|
|
case 109: /* - -> _ */ u = 45; s = 95; break;
|
|
case 111: /* / -> ? */ u = 47; s = 63; break;
|
|
|
|
+ case 173: /* - -> _ */ 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;
|
|
|