@xterm/xterm 5.6.0-beta.45 → 5.6.0-beta.46

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": "5.6.0-beta.45",
4
+ "version": "5.6.0-beta.46",
5
5
  "main": "lib/xterm.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "style": "css/xterm.css",
@@ -507,7 +507,10 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
507
507
  this.register(this.onFocus(() => this._renderService!.handleFocus()));
508
508
 
509
509
  this._viewport = this.register(this._instantiationService.createInstance(Viewport, this.element, this.screenElement));
510
- this.register(this._viewport.onRequestScrollLines(e => super.scrollLines(e, false)));
510
+ this.register(this._viewport.onRequestScrollLines(e => {
511
+ super.scrollLines(e, false);
512
+ this.refresh(0, this.rows - 1);
513
+ }));
511
514
 
512
515
  this._selectionService = this.register(this._instantiationService.createInstance(SelectionService,
513
516
  this.element,