mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
FIX #144343. Update output items will re-render the cell output.
This commit is contained in:
@@ -138,6 +138,9 @@ function renderStream(outputInfo: OutputItem, container: HTMLElement, error: boo
|
||||
|
||||
const text = outputInfo.text();
|
||||
truncatedArrayOfString(outputInfo.id, [text], ctx.settings.lineLimit, element);
|
||||
while (container.firstChild) {
|
||||
container.removeChild(container.firstChild);
|
||||
}
|
||||
container.appendChild(element);
|
||||
container.setAttribute('output-mime-type', outputInfo.mime);
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user