@xterm/xterm 6.1.0-beta.282 → 6.1.0-beta.284

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.282",
4
+ "version": "6.1.0-beta.284",
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": "3d929a1db0e01f94b3bd1c4f02d538ac5ea454ae"
122
+ "commit": "f57b8e1534ac7ab013002a09df140c470fddf9bf"
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;
@@ -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.282';
9
+ export const XTERM_VERSION = '6.1.0-beta.284';