@xterm/xterm 6.1.0-beta.301 → 6.1.0-beta.302

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.301",
4
+ "version": "6.1.0-beta.302",
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": "8c9b9fdb9ba7b72b677173225f69c2a47f807600"
122
+ "commit": "d6cfe3db5dfdbfd2a08c3f9bcfcde8a283aa479d"
123
123
  }
@@ -1286,6 +1286,11 @@ export class InputHandler extends Disposable implements IInputHandler {
1286
1286
  this._activeBuffer.lines.trimStart(scrollBackSize);
1287
1287
  this._activeBuffer.ybase = Math.max(this._activeBuffer.ybase - scrollBackSize, 0);
1288
1288
  this._activeBuffer.ydisp = Math.max(this._activeBuffer.ydisp - scrollBackSize, 0);
1289
+ // isUserScrolling tracks the normal buffer's viewport, so ED3 on the alt
1290
+ // screen must not touch it
1291
+ if (this._activeBuffer === this._bufferService.buffers.normal) {
1292
+ this._bufferService.isUserScrolling = false;
1293
+ }
1289
1294
  // Force a scroll event to refresh viewport
1290
1295
  this._onScroll.fire(0);
1291
1296
  }
@@ -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.301';
9
+ export const XTERM_VERSION = '6.1.0-beta.302';