From 6336e9f376a36a59ee2dbb941aa1e7334f9d463c Mon Sep 17 00:00:00 2001 From: KLuka Date: Wed, 4 Mar 2015 17:01:06 +0100 Subject: [PATCH] Issues 39, 43, 166 and 172 commits applied to .jspp files Autogenerated .js files with fixes were removed. Patches were taken from commits: * 7d396c82737af0be513338b84d463962cf5df03a * b7dac10ec12eec7a93a1c140f67ccdbf8d74cca1 * ea179e89f7fcc248b27141aa71f30536d37a9ae3 * b74ddd066bb4d0c37411c48f5398e407c269a530 --- shellinabox/shell_in_a_box.jspp | 6 ++-- shellinabox/vt100.jspp | 55 ++++++++++++++++++++++++++------- 2 files changed, 46 insertions(+), 15 deletions(-) diff --git a/shellinabox/shell_in_a_box.jspp b/shellinabox/shell_in_a_box.jspp index 11a893e..8fa2132 100644 --- a/shellinabox/shell_in_a_box.jspp +++ b/shellinabox/shell_in_a_box.jspp @@ -267,16 +267,16 @@ ShellInABox.prototype.keysPressed = function(ch) { } else if (c < 0x10000) { s += 'E' + hex.charAt( (c >> 12) ) + - hex.charAt(0x8 + (c >> 10) & 0x3 ) + + hex.charAt(0x8 + ((c >> 10) & 0x3)) + hex.charAt( (c >> 6) & 0xF ) + hex.charAt(0x8 + ((c >> 4) & 0x3)) + hex.charAt( c & 0xF ); } else if (c < 0x110000) { s += 'F' + hex.charAt( (c >> 18) ) + - hex.charAt(0x8 + (c >> 16) & 0x3 ) + + hex.charAt(0x8 + ((c >> 16) & 0x3)) + hex.charAt( (c >> 12) & 0xF ) + - hex.charAt(0x8 + (c >> 10) & 0x3 ) + + hex.charAt(0x8 + ((c >> 10) & 0x3)) + hex.charAt( (c >> 6) & 0xF ) + hex.charAt(0x8 + ((c >> 4) & 0x3)) + hex.charAt( c & 0xF ); diff --git a/shellinabox/vt100.jspp b/shellinabox/vt100.jspp index 54473d4..6ec0efa 100755 --- a/shellinabox/vt100.jspp +++ b/shellinabox/vt100.jspp @@ -887,7 +887,7 @@ VT100.prototype.initializeElements = function(container) { '