Merge pull request #5761 from SergioChan/fix/textarea-sync-on-resize-3390

fix: sync helper textarea position after resize
This commit is contained in:
Daniel Imms
2026-03-11 12:48:14 +09:00
committed by GitHub
+4 -1
View File
@@ -573,7 +573,10 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
this._renderService!.handleCursorMove();
this._syncTextArea();
}));
this._register(this.onResize(() => this._renderService!.handleResize(this.cols, this.rows)));
this._register(this.onResize(() => {
this._renderService!.handleResize(this.cols, this.rows);
this._syncTextArea();
}));
this._register(this.onBlur(() => this._renderService!.handleBlur()));
this._register(this.onFocus(() => this._renderService!.handleFocus()));