Skip to content

Commit 95c642f

Browse files
authored
Merge pull request microsoft#294647 from microsoft/tyriar/291275
Use sequence as default terminal tab title
2 parents 0aba196 + c8f8ddc commit 95c642f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ const terminalConfiguration: IStringDictionary<IConfigurationPropertySchema> = {
342342
},
343343
[TerminalSettingId.TerminalTitle]: {
344344
'type': 'string',
345-
'default': '${process}',
345+
'default': '${sequence}',
346346
'markdownDescription': terminalTitle
347347
},
348348
[TerminalSettingId.TerminalDescription]: {

test/smoke/src/areas/terminal/terminal-persistence.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ export function setup(options?: { skipSuite: boolean }) {
1616
const app = this.app as Application;
1717
terminal = app.workbench.terminal;
1818
settingsEditor = app.workbench.settingsEditor;
19-
await setTerminalTestSettings(app);
19+
await setTerminalTestSettings(app, [
20+
// Use ${process} for terminal title to ensure stable names for detach/attach
21+
['terminal.integrated.tabs.title', '"${process}"']
22+
]);
2023
});
2124

2225
after(async function () {

0 commit comments

Comments
 (0)