提交 40f55cbc 编写于 作者: I isidor

output: clear buffered output after it is appended

fixes #18110
上级 9ea4065d
......@@ -94,7 +94,7 @@ export class OutputService implements IOutputService {
}
private append(channelId: string, output: string): void {
// Initialize
if (!this.receivedOutput[channelId]) {
this.receivedOutput[channelId] = '';
......@@ -243,6 +243,7 @@ class OutputContentProvider implements ITextModelContentProvider {
}
const bufferedOutput = this.bufferedOutput[channel];
this.bufferedOutput[channel] = '';
if (!bufferedOutput) {
return; // return if nothing to append
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册