提交 723ea47d 编写于 作者: I isidor

fixes #62865

上级 e92b1ac3
......@@ -74,10 +74,10 @@ export class CopyAllAction extends Action {
const navigator = this.tree.getNavigator();
// skip first navigator element - the root node
while (navigator.next()) {
if (text) {
if (text && text.length > 0 && text[text.length - 1] !== lineDelimiter) {
text += lineDelimiter;
}
text += (<IReplElement>navigator.current()).toString().trimRight();
text += (<IReplElement>navigator.current()).toString();
}
clipboard.writeText(removeAnsiEscapeCodes(text));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册