Prevent opening a new Tab in a safed session [Reopend] #23151

Closed
opened 2026-01-31 08:33:47 +00:00 by claunia · 2 comments
Owner

Originally created by @foxtrottNB on GitHub (Apr 14, 2025).

Windows Terminal version

1.23.10732.0

Windows build number

Win10 22H2

Other Software

No response

Steps to reproduce

create a session with some tabs

Image

configure WT so the session gets safed

Image

close WT

open a new WT instance

Expected Behavior

Image

Actual Behavior

Image

I do not need the additional new Tab, just all tabs that were safed from the old session.

i am using : Microsoft.WindowsTerminal.Preview 1.23.10732.0

Originally created by @foxtrottNB on GitHub (Apr 14, 2025). ### Windows Terminal version 1.23.10732.0 ### Windows build number Win10 22H2 ### Other Software _No response_ ### Steps to reproduce create a session with some tabs ![Image](https://github.com/user-attachments/assets/fc20501f-4057-4bed-b748-ad207c7bed01) configure WT so the session gets safed ![Image](https://github.com/user-attachments/assets/bdf58274-412e-4973-9a46-e5b25dc09ff2) close WT open a new WT instance ### Expected Behavior ![Image](https://github.com/user-attachments/assets/85393d0f-fcbe-4b88-bee6-56a94d8988aa) ### Actual Behavior ![Image](https://github.com/user-attachments/assets/07fcf6f2-2cff-4625-bc2b-99d9162a62d1) I do not need the additional new Tab, just all tabs that were safed from the old session. i am using : Microsoft.WindowsTerminal.Preview 1.23.10732.0
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:33:47 +00:00
Author
Owner

@similar-issues-ai[bot] commented on GitHub (Apr 14, 2025):

We've found some similar issues:

  • #18715 , similarity score: 88%

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@similar-issues-ai[bot] commented on GitHub (Apr 14, 2025): We've found some similar issues: - #18715 , similarity score: 88% If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue. > Note: You can give me feedback by 👍 or 👎 this comment.
Author
Owner

@foxtrottNB commented on GitHub (Apr 14, 2025):

Sorry for the double repost with , but the original topic was closed due to my late response with the config file.

{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema-preview",
"actions":
[
{
"command": "paste",
"id": "User.paste"
},
{
"command":
{
"action": "copy",
"singleLine": false
},
"id": "User.copy.644BA8F2"
},
{
"command": "find",
"id": "User.find"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"id": "User.splitPane.A6751878"
}
],
"alwaysShowNotificationIcon": false,
"centerOnLaunch": true,
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"experimental.enableColorSelection": false,
"firstWindowPreference": "persistedWindowLayout",
"initialCols": 200,
"initialRows": 50,
"keybindings":
[
{
"id": "User.paste",
"keys": "ctrl+v"
},
{
"id": "User.find",
"keys": "ctrl+shift+f"
},
{
"id": "User.copy.644BA8F2",
"keys": "ctrl+c"
},
{
"id": "User.splitPane.A6751878",
"keys": "alt+shift+d"
}
],
"language": "en-US",
"minimizeToNotificationArea": false,
"newTabMenu":
[
{
"type": "remainingProfiles"
}
],
"profiles":
{
"defaults":
{
"backgroundImage": "D:\Anwendungsdaten\Windows\Wallpaper\Web\671306.jpg",
"colorScheme": "One Half Dark",
"elevate": true,
"font":
{
"face": "CaskaydiaCove Nerd Font"
},
"padding": "20",
"scrollbarState": "always"
},
"list":
[
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "PowerShell",
"source": "Windows.Terminal.PowershellCore",
"suppressApplicationTitle": false
},
{
"colorScheme": "Tango Dark",
"commandline": "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"commandline": "%SystemRoot%\System32\cmd.exe",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Eingabeaufforderung"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{426f5b3d-50b2-5751-a6d4-bbc4402594c4}",
"hidden": false,
"name": "Developer Command Prompt for VS 2022",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{16c1522a-7be9-58df-91fd-5dc5df451dc1}",
"hidden": false,
"name": "Developer PowerShell for VS 2022",
"source": "Windows.Terminal.VisualStudio"
}
]
},
"schemes": [],
"themes": [],
"useAcrylicInTabRow": true,
"windowingBehavior": "useAnyExisting"
}

@foxtrottNB commented on GitHub (Apr 14, 2025): Sorry for the double [repost ](https://github.com/microsoft/terminal/issues/18715)with , but the [original topic](https://github.com/microsoft/terminal/issues/18715) was closed due to my late response with the config file. { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema-preview", "actions": [ { "command": "paste", "id": "User.paste" }, { "command": { "action": "copy", "singleLine": false }, "id": "User.copy.644BA8F2" }, { "command": "find", "id": "User.find" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "id": "User.splitPane.A6751878" } ], "alwaysShowNotificationIcon": false, "centerOnLaunch": true, "copyFormatting": "none", "copyOnSelect": false, "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "experimental.enableColorSelection": false, "firstWindowPreference": "persistedWindowLayout", "initialCols": 200, "initialRows": 50, "keybindings": [ { "id": "User.paste", "keys": "ctrl+v" }, { "id": "User.find", "keys": "ctrl+shift+f" }, { "id": "User.copy.644BA8F2", "keys": "ctrl+c" }, { "id": "User.splitPane.A6751878", "keys": "alt+shift+d" } ], "language": "en-US", "minimizeToNotificationArea": false, "newTabMenu": [ { "type": "remainingProfiles" } ], "profiles": { "defaults": { "backgroundImage": "D:\Anwendungsdaten\Windows\Wallpaper\Web\671306.jpg", "colorScheme": "One Half Dark", "elevate": true, "font": { "face": "CaskaydiaCove Nerd Font" }, "padding": "20", "scrollbarState": "always" }, "list": [ { "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "name": "PowerShell", "source": "Windows.Terminal.PowershellCore", "suppressApplicationTitle": false }, { "colorScheme": "Tango Dark", "commandline": "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe", "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell" }, { "commandline": "%SystemRoot%\System32\cmd.exe", "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "Eingabeaufforderung" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" }, { "guid": "{426f5b3d-50b2-5751-a6d4-bbc4402594c4}", "hidden": false, "name": "Developer Command Prompt for VS 2022", "source": "Windows.Terminal.VisualStudio" }, { "guid": "{16c1522a-7be9-58df-91fd-5dc5df451dc1}", "hidden": false, "name": "Developer PowerShell for VS 2022", "source": "Windows.Terminal.VisualStudio" } ] }, "schemes": [], "themes": [], "useAcrylicInTabRow": true, "windowingBehavior": "useAnyExisting" }
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23151