提交 74b9543c 编写于 作者: I isidor

fixes #72894

上级 fa304701
......@@ -283,7 +283,7 @@ export class Repl extends Panel implements IPrivateReplService, IHistoryNavigati
const lineDelimiter = this.textResourcePropertiesService.getEOL(this.model.uri);
const traverseAndAppend = (node: ITreeNode<IReplElement, FuzzyScore>) => {
node.children.forEach(child => {
text += child.element.toString() + lineDelimiter;
text += child.element.toString().trimRight() + lineDelimiter;
if (!child.collapsed && child.children.length) {
traverseAndAppend(child);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册