@xterm/xterm 6.1.0-beta.229 → 6.1.0-beta.230
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 +3 -3
- package/package.json +2 -2
- package/src/common/Version.ts +1 -1
- package/src/common/input/WriteBuffer.ts +5 -0
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.230",
|
|
5
5
|
"main": "lib/xterm.js",
|
|
6
6
|
"module": "lib/xterm.mjs",
|
|
7
7
|
"style": "css/xterm.css",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"ws": "^8.2.3",
|
|
112
112
|
"xterm-benchmark": "^0.3.1"
|
|
113
113
|
},
|
|
114
|
-
"commit": "
|
|
114
|
+
"commit": "42270a0b68d5ae7bae7b22c7bf6561e37b07fcdd"
|
|
115
115
|
}
|
package/src/common/Version.ts
CHANGED
|
@@ -71,7 +71,9 @@ export class WriteBuffer extends Disposable {
|
|
|
71
71
|
|
|
72
72
|
// Process all pending chunks synchronously
|
|
73
73
|
let chunk: string | Uint8Array | undefined;
|
|
74
|
+
let didProcess = false;
|
|
74
75
|
while (chunk = this._writeBuffer.shift()) {
|
|
76
|
+
didProcess = true;
|
|
75
77
|
this._action(chunk);
|
|
76
78
|
const cb = this._callbacks.shift();
|
|
77
79
|
if (cb) cb();
|
|
@@ -84,6 +86,9 @@ export class WriteBuffer extends Disposable {
|
|
|
84
86
|
this._callbacks.length = 0;
|
|
85
87
|
|
|
86
88
|
this._isSyncWriting = false;
|
|
89
|
+
if (didProcess) {
|
|
90
|
+
this._onWriteParsed.fire();
|
|
91
|
+
}
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
/**
|