Allow refreshing all rows without creating object

This commit is contained in:
Daniel Imms
2024-07-14 09:05:18 -07:00
parent b6b19babc1
commit bd700fe515
2 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
// Setup InputHandler listeners
this.register(this._inputHandler.onRequestBell(() => this._onBell.fire()));
this.register(this._inputHandler.onRequestRefreshRows((e) => this.refresh(e.start, e.end)));
this.register(this._inputHandler.onRequestRefreshRows((e) => this.refresh(e?.start ?? 0, e?.end ?? (this.rows - 1))));
this.register(this._inputHandler.onRequestSendFocus(() => this._reportFocus()));
this.register(this._inputHandler.onRequestReset(() => this.reset()));
this.register(this._inputHandler.onRequestWindowsOptionsReport(type => this._reportWindowsOptions(type)));