@xterm/xterm 6.1.0-beta.282 → 6.1.0-beta.283
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/browser/CoreBrowserTerminal.ts +0 -4
- package/src/common/Version.ts +1 -1
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.283",
|
|
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": "c8f11d63b5f8b01f4bccbbf4d9bd25ef19e0dfad"
|
|
123
123
|
}
|
|
@@ -1072,10 +1072,6 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
|
|
|
1072
1072
|
* Clear the entire buffer, making the prompt line the new first line.
|
|
1073
1073
|
*/
|
|
1074
1074
|
public clear(): void {
|
|
1075
|
-
if (this.buffer.ybase === 0 && this.buffer.y === 0) {
|
|
1076
|
-
// Don't clear if it's already clear
|
|
1077
|
-
return;
|
|
1078
|
-
}
|
|
1079
1075
|
this.buffer.clearAllMarkers();
|
|
1080
1076
|
this.buffer.lines.set(0, this.buffer.lines.get(this.buffer.ybase + this.buffer.y)!);
|
|
1081
1077
|
this.buffer.lines.length = 1;
|
package/src/common/Version.ts
CHANGED