#59209 Flush the content before revealing the channel

This commit is contained in:
Sandeep Somavarapu
2018-09-25 21:50:39 +02:00
parent 7968999638
commit 010bc0d086

View File

@@ -95,6 +95,11 @@ export class ExtHostOutputChannelBackedByFile extends AbstractExtHostOutputChann
this._appender.append(value);
}
show(columnOrPreserveFocus?: vscode.ViewColumn | boolean, preserveFocus?: boolean): void {
this._appender.flush();
super.show(columnOrPreserveFocus, preserveFocus);
}
clear(): void {
this._appender.flush();
super.clear();