@xterm/xterm 6.1.0-beta.277 → 6.1.0-beta.279

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/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.277",
4
+ "version": "6.1.0-beta.279",
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": "0c8271db4998a9ac5a164714e8b5054b444b3f31"
122
+ "commit": "7c24c580072daea61f607c102d515f37cf2dbb17"
123
123
  }
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * The xterm.js version. This is updated by the publish script from package.json.
8
8
  */
9
- export const XTERM_VERSION = '6.1.0-beta.277';
9
+ export const XTERM_VERSION = '6.1.0-beta.279';
@@ -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] & 0x3F) && pos < 4) {
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;