Merge pull request #5761 from SergioChan/fix/textarea-sync-on-resize-3390
fix: sync helper textarea position after resize
This commit is contained in:
@@ -573,7 +573,10 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
|
|||||||
this._renderService!.handleCursorMove();
|
this._renderService!.handleCursorMove();
|
||||||
this._syncTextArea();
|
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.onBlur(() => this._renderService!.handleBlur()));
|
||||||
this._register(this.onFocus(() => this._renderService!.handleFocus()));
|
this._register(this.onFocus(() => this._renderService!.handleFocus()));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user