We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a575592 + a95252e commit c56dd94Copy full SHA for c56dd94
src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
@@ -869,7 +869,12 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
869
commandMap.add(executingCommand);
870
}
871
function formatLabel(label: string) {
872
- return label.replace(/\r?\n/g, '\u23CE');
+ return label
873
+ // Replace new lines with "enter" symbol
874
+ .replace(/\r?\n/g, '\u23CE')
875
+ // Replace 3 or more spaces with midline horizontal ellipsis which looks similar
876
+ // to whitespace in the editor
877
+ .replace(/\s\s\s+/g, '\u22EF');
878
879
if (commands && commands.length > 0) {
880
for (const entry of commands) {
0 commit comments