mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
append when stream outputs are concatenated
This commit is contained in:
@@ -128,7 +128,7 @@ export function appendScrollableOutput(element: HTMLElement, id: string, appende
|
||||
outputLengths[id] = Math.min(fullBuffer.length, softScrollableLineLimit);
|
||||
const newElement = scrollableArrayOfString(id, fullBuffer.slice(-1 * softScrollableLineLimit), trustHtml);
|
||||
newElement.setAttribute('output-item-id', id);
|
||||
element.replaceWith();
|
||||
element.replaceWith(newElement);
|
||||
}
|
||||
else {
|
||||
element.appendChild(handleANSIOutput(buffer.join('\n'), trustHtml));
|
||||
|
||||
Reference in New Issue
Block a user