@xterm/xterm 6.1.0-beta.276 → 6.1.0-beta.278
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/xterm.js +1 -1
- package/lib/xterm.js.map +1 -1
- package/lib/xterm.mjs +2 -2
- package/lib/xterm.mjs.map +2 -2
- package/package.json +2 -2
- package/src/common/Version.ts +1 -1
- package/src/common/input/TextDecoder.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xterm/xterm",
|
|
3
3
|
"description": "Full xterm terminal, in your browser",
|
|
4
|
-
"version": "6.1.0-beta.
|
|
4
|
+
"version": "6.1.0-beta.278",
|
|
5
5
|
"main": "lib/xterm.js",
|
|
6
6
|
"module": "lib/xterm.mjs",
|
|
7
7
|
"style": "css/xterm.css",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"ws": "^8.20.0",
|
|
120
120
|
"xterm-benchmark": "^0.3.2"
|
|
121
121
|
},
|
|
122
|
-
"commit": "
|
|
122
|
+
"commit": "596634ac4189852a15d0178e49201fc7d52c968d"
|
|
123
123
|
}
|
package/src/common/Version.ts
CHANGED
|
@@ -158,9 +158,9 @@ export class Utf8ToUtf32 {
|
|
|
158
158
|
cp &= ((((cp & 0xE0) === 0xC0)) ? 0x1F : (((cp & 0xF0) === 0xE0)) ? 0x0F : 0x07);
|
|
159
159
|
let pos = 0;
|
|
160
160
|
let tmp: number;
|
|
161
|
-
while ((tmp = this.interim[++pos]
|
|
161
|
+
while ((tmp = this.interim[++pos]) && pos < 4) {
|
|
162
162
|
cp <<= 6;
|
|
163
|
-
cp |= tmp;
|
|
163
|
+
cp |= tmp & 0x3F;
|
|
164
164
|
}
|
|
165
165
|
// missing bytes - read ahead from input
|
|
166
166
|
const type = (((this.interim[0] & 0xE0) === 0xC0)) ? 2 : (((this.interim[0] & 0xF0) === 0xE0)) ? 3 : 4;
|