mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Add replaceAll method to OutputChannel to improve render flickering for extensions with minimal output contents; associated with https://github.com/microsoft/vscode/issues/132183
This commit is contained in:
@@ -55,6 +55,12 @@ class ExtHostOutputChannelBackedByFile extends AbstractExtHostOutputChannel {
|
||||
this._onDidAppend.fire();
|
||||
}
|
||||
|
||||
override replaceAll(value: string): void {
|
||||
this._appender.append(value);
|
||||
this._appender.flush();
|
||||
super.replaceAll(value);
|
||||
}
|
||||
|
||||
override update(): void {
|
||||
this._appender.flush();
|
||||
super.update();
|
||||
|
||||
Reference in New Issue
Block a user