Command Prompt always opening a new window #19614

Closed
opened 2026-01-31 06:48:44 +00:00 by claunia · 4 comments
Owner

Originally created by @YouveGotMeowxy on GitHub (Mar 30, 2023).

Windows Terminal version

1.16.10261.0

Windows build number

10.0.19045.2788

Other Software

No response

Steps to reproduce

I have my default profile set to Ubuntu, and regular Windows Command (set to run as admin) as just another profile.

When I open WT it opens normally, with ubuntu tab opening, and any subsequent ubuntu tab that I open also opens in a new tab in that same window; however, if I click to open a Windows Command Prompt tab, it always opens a brand new WT window with only that Windows Command Prompt tab in it.

My settings:

image

config
{
  "$help": "https://aka.ms/terminal-documentation",
  "$schema": "https://aka.ms/terminal-profiles-schema",
  "actions": 
  [
      {
          "command": "find",
          "keys": "ctrl+shift+f"
      },
      {
          "command": "paste",
          "keys": "ctrl+v"
      },
      {
          "command": 
          {
              "action": "copy",
              "singleLine": false
          },
          "keys": "ctrl+c"
      },
      {
          "command": 
          {
              "action": "splitPane",
              "split": "auto",
              "splitMode": "duplicate"
          },
          "keys": "alt+shift+d"
      }
  ],
  "copyFormatting": "none",
  "copyOnSelect": false,
  "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
  "firstWindowPreference": "defaultProfile",
  "focusFollowMouse": true,
  "initialCols": 220,
  "initialRows": 40,
  "language": "en-US",
  "launchMode": "default",
  "profiles": 
  {
      "defaults": 
      {
          "icon": "D:\\Programs\\Terminal\\dos.png"
      },
      "list": 
      [
          {
              "closeOnExit": "never",
              "elevate": true,
              "font": 
              {
                  "size": 10.0
              },
              "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\dos.png",
              "name": "Command: Admin",
              "useAtlasEngine": true
          },
          {
              "colorScheme": "Campbell Powershell",
              "elevate": false,
              "font": 
              {
                  "face": "Cascadia Code PL",
                  "size": 9.0
              },
              "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\powershell.png",
              "name": "PowerShell",
              "tabColor": "#4682B4"
          },
          {
              "colorScheme": "Campbell Powershell",
              "elevate": true,
              "font": 
              {
                  "face": "Cascadia Code PL",
                  "size": 9.0
              },
              "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff444f}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\powershell.png",
              "name": "PowerShell: Admin",
              "tabColor": "#4682B4"
          },
          {
              "backgroundImage": "D:\\Programs\\Terminal\\Nord - 2E3440.png",
              "backgroundImageAlignment": "center",
              "colorScheme": "[Dark] Nord ",
              "commandline": "wsl.exe -d Ubuntu",
              "font": 
              {
                  "face": "MesloLGS NF",
                  "size": 10.0
              },
              "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\ubuntu.png",
              "name": "Ubuntu",
              "padding": "12, 12, 12, 12",
              "source": "Windows.Terminal.Wsl",
              "startingDirectory": "//wsl$/Ubuntu/home/kacey"
          },
          {
              "backgroundImage": "D://Programs//Terminal//ubuntu-wallpaper.png",
              "backgroundImageAlignment": "center",
              "colorScheme": "Ubuntu [Legit]",
              "commandline": "wsl.exe -d Ubuntu -u root",
              "font": 
              {
                  "face": "Ubuntu Mono",
                  "size": 10.0
              },
              "guid": "{de734ea9-2829-4dca-ba11-15f5b60f39c5}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\ubuntu.png",
              "name": "Ubuntu: Root",
              "padding": "12, 12, 12, 12",
              "startingDirectory": "//wsl$/Ubuntu/home/kacey"
          },
          {
              "closeOnExit": "never",
              "commandline": "wsl.exe -d ubuntu -u root -- ntpdate time.windows.com",
              "guid": "{1d4de342-38b7-51cf-b940-2309a097f518}",
              "icon": "D:\\Programs\\Terminal\\ubuntu.png",
              "name": "Ubuntu: Update System Clock"
          },
          {
              "commandline": "cmd.exe /C D://Kacey//Docker//lazydocker.exe",
              "font": 
              {
                  "size": 10.0
              },
              "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6102}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\Docker.ico",
              "name": "LazyDocker"
          },
          {
              "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
              "hidden": true,
              "icon": "D:\\Programs\\Terminal\\Azure_blue_16x.png",
              "name": "Azure Cloud Shell",
              "source": "Windows.Terminal.Azure"
          },
          {
              "guid": "{57f735a0-3973-5796-a1e5-f245999ce120}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\vs2022cmd.ico",
              "name": "Dev: Command - VS 2022",
              "source": "Windows.Terminal.VisualStudio"
          },
          {
              "guid": "{a798e2fc-bae1-5900-a08b-8e0d9e07f920}",
              "hidden": false,
              "icon": "D:\\Programs\\Terminal\\vs2022cmd.ico",
              "name": "Dev: PowerShell - VS 2022",
              "source": "Windows.Terminal.VisualStudio"
          }
      ]
  },
  "schemes": 
  [
      {
          "background": "#0C0C0C",
          "black": "#0C0C0C",
          "blue": "#0037DA",
          "brightBlack": "#767676",
          "brightBlue": "#3B78FF",
          "brightCyan": "#61D6D6",
          "brightGreen": "#16C60C",
          "brightPurple": "#B4009E",
          "brightRed": "#E74856",
          "brightWhite": "#F2F2F2",
          "brightYellow": "#F9F1A5",
          "cursorColor": "#FFFFFF",
          "cyan": "#3A96DD",
          "foreground": "#CCCCCC",
          "green": "#13A10E",
          "name": "Campbell",
          "purple": "#881798",
          "red": "#C50F1F",
          "selectionBackground": "#FFFFFF",
          "white": "#CCCCCC",
          "yellow": "#C19C00"
      },
      {
          "background": "#012456",
          "black": "#0C0C0C",
          "blue": "#0037DA",
          "brightBlack": "#767676",
          "brightBlue": "#3B78FF",
          "brightCyan": "#61D6D6",
          "brightGreen": "#16C60C",
          "brightPurple": "#B4009E",
          "brightRed": "#E74856",
          "brightWhite": "#F2F2F2",
          "brightYellow": "#F9F1A5",
          "cursorColor": "#FFFFFF",
          "cyan": "#3A96DD",
          "foreground": "#CCCCCC",
          "green": "#13A10E",
          "name": "Campbell Powershell",
          "purple": "#881798",
          "red": "#C50F1F",
          "selectionBackground": "#FFFFFF",
          "white": "#CCCCCC",
          "yellow": "#C19C00"
      },
      {
          "background": "#282C34",
          "black": "#282C34",
          "blue": "#61AFEF",
          "brightBlack": "#5A6374",
          "brightBlue": "#61AFEF",
          "brightCyan": "#56B6C2",
          "brightGreen": "#98C379",
          "brightPurple": "#C678DD",
          "brightRed": "#E06C75",
          "brightWhite": "#DCDFE4",
          "brightYellow": "#E5C07B",
          "cursorColor": "#FFFFFF",
          "cyan": "#56B6C2",
          "foreground": "#DCDFE4",
          "green": "#98C379",
          "name": "One Half Dark",
          "purple": "#C678DD",
          "red": "#E06C75",
          "selectionBackground": "#FFFFFF",
          "white": "#DCDFE4",
          "yellow": "#E5C07B"
      },
      {
          "background": "#FAFAFA",
          "black": "#383A42",
          "blue": "#0184BC",
          "brightBlack": "#4F525D",
          "brightBlue": "#61AFEF",
          "brightCyan": "#56B5C1",
          "brightGreen": "#98C379",
          "brightPurple": "#C577DD",
          "brightRed": "#DF6C75",
          "brightWhite": "#FFFFFF",
          "brightYellow": "#E4C07A",
          "cursorColor": "#4F525D",
          "cyan": "#0997B3",
          "foreground": "#383A42",
          "green": "#50A14F",
          "name": "One Half Light",
          "purple": "#A626A4",
          "red": "#E45649",
          "selectionBackground": "#FFFFFF",
          "white": "#FAFAFA",
          "yellow": "#C18301"
      },
      {
          "background": "#002B36",
          "black": "#002B36",
          "blue": "#268BD2",
          "brightBlack": "#073642",
          "brightBlue": "#839496",
          "brightCyan": "#93A1A1",
          "brightGreen": "#586E75",
          "brightPurple": "#6C71C4",
          "brightRed": "#CB4B16",
          "brightWhite": "#FDF6E3",
          "brightYellow": "#657B83",
          "cursorColor": "#FFFFFF",
          "cyan": "#2AA198",
          "foreground": "#839496",
          "green": "#859900",
          "name": "Solarized Dark",
          "purple": "#D33682",
          "red": "#DC322F",
          "selectionBackground": "#FFFFFF",
          "white": "#EEE8D5",
          "yellow": "#B58900"
      },
      {
          "background": "#FDF6E3",
          "black": "#002B36",
          "blue": "#268BD2",
          "brightBlack": "#073642",
          "brightBlue": "#839496",
          "brightCyan": "#93A1A1",
          "brightGreen": "#586E75",
          "brightPurple": "#6C71C4",
          "brightRed": "#CB4B16",
          "brightWhite": "#FDF6E3",
          "brightYellow": "#657B83",
          "cursorColor": "#002B36",
          "cyan": "#2AA198",
          "foreground": "#657B83",
          "green": "#859900",
          "name": "Solarized Light",
          "purple": "#D33682",
          "red": "#DC322F",
          "selectionBackground": "#FFFFFF",
          "white": "#EEE8D5",
          "yellow": "#B58900"
      },
      {
          "background": "#000000",
          "black": "#000000",
          "blue": "#3465A4",
          "brightBlack": "#555753",
          "brightBlue": "#729FCF",
          "brightCyan": "#34E2E2",
          "brightGreen": "#8AE234",
          "brightPurple": "#AD7FA8",
          "brightRed": "#EF2929",
          "brightWhite": "#EEEEEC",
          "brightYellow": "#FCE94F",
          "cursorColor": "#FFFFFF",
          "cyan": "#06989A",
          "foreground": "#D3D7CF",
          "green": "#4E9A06",
          "name": "Tango Dark",
          "purple": "#75507B",
          "red": "#CC0000",
          "selectionBackground": "#FFFFFF",
          "white": "#D3D7CF",
          "yellow": "#C4A000"
      },
      {
          "background": "#FFFFFF",
          "black": "#000000",
          "blue": "#3465A4",
          "brightBlack": "#555753",
          "brightBlue": "#729FCF",
          "brightCyan": "#34E2E2",
          "brightGreen": "#8AE234",
          "brightPurple": "#AD7FA8",
          "brightRed": "#EF2929",
          "brightWhite": "#EEEEEC",
          "brightYellow": "#FCE94F",
          "cursorColor": "#000000",
          "cyan": "#06989A",
          "foreground": "#555753",
          "green": "#4E9A06",
          "name": "Tango Light",
          "purple": "#75507B",
          "red": "#CC0000",
          "selectionBackground": "#FFFFFF",
          "white": "#D3D7CF",
          "yellow": "#C4A000"
      },
      {
          "background": "#2C001E",
          "black": "#4E9A06",
          "blue": "#3465A4",
          "brightBlack": "#555753",
          "brightBlue": "#729FCF",
          "brightCyan": "#34E2E2",
          "brightGreen": "#8AE234",
          "brightPurple": "#AD7FA8",
          "brightRed": "#EF2929",
          "brightWhite": "#EEEEEE",
          "brightYellow": "#FCE94F",
          "cursorColor": "#FFFFFF",
          "cyan": "#06989A",
          "foreground": "#EEEEEE",
          "green": "#7DFF07",
          "name": "Ubuntu [Legit]",
          "purple": "#75507B",
          "red": "#CC0000",
          "selectionBackground": "#FFFFFF",
          "white": "#D3D7CF",
          "yellow": "#C4A000"
      },
      {
          "background": "#000000",
          "black": "#000000",
          "blue": "#000080",
          "brightBlack": "#808080",
          "brightBlue": "#0000FF",
          "brightCyan": "#00FFFF",
          "brightGreen": "#00FF00",
          "brightPurple": "#FF00FF",
          "brightRed": "#FF0000",
          "brightWhite": "#FFFFFF",
          "brightYellow": "#FFFF00",
          "cursorColor": "#FFFFFF",
          "cyan": "#008080",
          "foreground": "#E5E9F0",
          "green": "#008000",
          "name": "Vintage",
          "purple": "#800080",
          "red": "#800000",
          "selectionBackground": "#FFFFFF",
          "white": "#E5E9F0",
          "yellow": "#808000"
      },
      {
          "background": "#2E3440",
          "black": "#000000",
          "blue": "#5E81AC",
          "brightBlack": "#808080",
          "brightBlue": "#81A1C1",
          "brightCyan": "#8FBCBB",
          "brightGreen": "#C6E9A7",
          "brightPurple": "#B48EAD",
          "brightRed": "#923E47",
          "brightWhite": "#FFFFFF",
          "brightYellow": "#FFFF00",
          "cursorColor": "#D8DEE9",
          "cyan": "#88C0D0",
          "foreground": "#D8DEE9",
          "green": "#A3BE8C",
          "name": "[Dark] Nord ",
          "purple": "#B48EAD",
          "red": "#BF616A",
          "selectionBackground": "#D8DEE9",
          "white": "#ECEFF4",
          "yellow": "#EBCB8B"
      },
      {
          "background": "#2E3436",
          "black": "#2E3436",
          "blue": "#3465A4",
          "brightBlack": "#696B67",
          "brightBlue": "#729FCF",
          "brightCyan": "#2EC3C3",
          "brightGreen": "#79C32E",
          "brightPurple": "#AD7FA8",
          "brightRed": "#F49797",
          "brightWhite": "#FBFBFB",
          "brightYellow": "#FCE94F",
          "cursorColor": "#FFFFFF",
          "cyan": "#06989A",
          "foreground": "#B5BBAE",
          "green": "#4E9A06",
          "name": "[Dark] Ubuntu",
          "purple": "#75507B",
          "red": "#AE5E5E",
          "selectionBackground": "#FFFFFF",
          "white": "#B5BBAE",
          "yellow": "#C4A000"
      },
      {
          "background": "#FBFBFB",
          "black": "#FBFBFB",
          "blue": "#729FCF",
          "brightBlack": "#B5BBAE",
          "brightBlue": "#3465A4",
          "brightCyan": "#06989A",
          "brightGreen": "#3B7505",
          "brightPurple": "#75507B",
          "brightRed": "#AE5E5E",
          "brightWhite": "#2E3436",
          "brightYellow": "#8A7000",
          "cursorColor": "#FFFFFF",
          "cyan": "#2EC3C3",
          "foreground": "#696B67",
          "green": "#79C32E",
          "name": "[Light] Ubuntu",
          "purple": "#AD7FA8",
          "red": "#F49797",
          "selectionBackground": "#B5BBAE",
          "white": "#696B67",
          "yellow": "#C4A000"
      }
  ],
  "tabSwitcherMode": "inOrder",
  "tabWidthMode": "compact",
  "themes": [],
  "windowingBehavior": "useAnyExisting"
}

Expected Behavior

I want ALL tabs to open in the same window, not opening a new window just for that tab. It seems to only happen with that Command Prompt profile though and none of my other profiles, and I cant see anything in the settings that would cause this? All attempts to play with settings hasn't change the behavior.

Actual Behavior

See above.

Originally created by @YouveGotMeowxy on GitHub (Mar 30, 2023). ### Windows Terminal version 1.16.10261.0 ### Windows build number 10.0.19045.2788 ### Other Software _No response_ ### Steps to reproduce I have my default profile set to Ubuntu, and regular Windows Command (set to run as admin) as just another profile. When I open WT it opens normally, with ubuntu tab opening, and any subsequent ubuntu tab that I open also opens in a new tab in that same window; however, if I click to open a Windows Command Prompt tab, it always opens a brand new WT window with only that Windows Command Prompt tab in it. My settings: ![image](https://user-images.githubusercontent.com/39491297/228954675-c3b2777f-2ecc-4f63-bfb6-6f6d58d05b11.png) <details> <summary>config</summary> ``` { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ { "command": "find", "keys": "ctrl+shift+f" }, { "command": "paste", "keys": "ctrl+v" }, { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } ], "copyFormatting": "none", "copyOnSelect": false, "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", "firstWindowPreference": "defaultProfile", "focusFollowMouse": true, "initialCols": 220, "initialRows": 40, "language": "en-US", "launchMode": "default", "profiles": { "defaults": { "icon": "D:\\Programs\\Terminal\\dos.png" }, "list": [ { "closeOnExit": "never", "elevate": true, "font": { "size": 10.0 }, "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "icon": "D:\\Programs\\Terminal\\dos.png", "name": "Command: Admin", "useAtlasEngine": true }, { "colorScheme": "Campbell Powershell", "elevate": false, "font": { "face": "Cascadia Code PL", "size": 9.0 }, "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "icon": "D:\\Programs\\Terminal\\powershell.png", "name": "PowerShell", "tabColor": "#4682B4" }, { "colorScheme": "Campbell Powershell", "elevate": true, "font": { "face": "Cascadia Code PL", "size": 9.0 }, "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff444f}", "hidden": false, "icon": "D:\\Programs\\Terminal\\powershell.png", "name": "PowerShell: Admin", "tabColor": "#4682B4" }, { "backgroundImage": "D:\\Programs\\Terminal\\Nord - 2E3440.png", "backgroundImageAlignment": "center", "colorScheme": "[Dark] Nord ", "commandline": "wsl.exe -d Ubuntu", "font": { "face": "MesloLGS NF", "size": 10.0 }, "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "hidden": false, "icon": "D:\\Programs\\Terminal\\ubuntu.png", "name": "Ubuntu", "padding": "12, 12, 12, 12", "source": "Windows.Terminal.Wsl", "startingDirectory": "//wsl$/Ubuntu/home/kacey" }, { "backgroundImage": "D://Programs//Terminal//ubuntu-wallpaper.png", "backgroundImageAlignment": "center", "colorScheme": "Ubuntu [Legit]", "commandline": "wsl.exe -d Ubuntu -u root", "font": { "face": "Ubuntu Mono", "size": 10.0 }, "guid": "{de734ea9-2829-4dca-ba11-15f5b60f39c5}", "hidden": false, "icon": "D:\\Programs\\Terminal\\ubuntu.png", "name": "Ubuntu: Root", "padding": "12, 12, 12, 12", "startingDirectory": "//wsl$/Ubuntu/home/kacey" }, { "closeOnExit": "never", "commandline": "wsl.exe -d ubuntu -u root -- ntpdate time.windows.com", "guid": "{1d4de342-38b7-51cf-b940-2309a097f518}", "icon": "D:\\Programs\\Terminal\\ubuntu.png", "name": "Ubuntu: Update System Clock" }, { "commandline": "cmd.exe /C D://Kacey//Docker//lazydocker.exe", "font": { "size": 10.0 }, "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6102}", "hidden": false, "icon": "D:\\Programs\\Terminal\\Docker.ico", "name": "LazyDocker" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": true, "icon": "D:\\Programs\\Terminal\\Azure_blue_16x.png", "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" }, { "guid": "{57f735a0-3973-5796-a1e5-f245999ce120}", "hidden": false, "icon": "D:\\Programs\\Terminal\\vs2022cmd.ico", "name": "Dev: Command - VS 2022", "source": "Windows.Terminal.VisualStudio" }, { "guid": "{a798e2fc-bae1-5900-a08b-8e0d9e07f920}", "hidden": false, "icon": "D:\\Programs\\Terminal\\vs2022cmd.ico", "name": "Dev: PowerShell - VS 2022", "source": "Windows.Terminal.VisualStudio" } ] }, "schemes": [ { "background": "#0C0C0C", "black": "#0C0C0C", "blue": "#0037DA", "brightBlack": "#767676", "brightBlue": "#3B78FF", "brightCyan": "#61D6D6", "brightGreen": "#16C60C", "brightPurple": "#B4009E", "brightRed": "#E74856", "brightWhite": "#F2F2F2", "brightYellow": "#F9F1A5", "cursorColor": "#FFFFFF", "cyan": "#3A96DD", "foreground": "#CCCCCC", "green": "#13A10E", "name": "Campbell", "purple": "#881798", "red": "#C50F1F", "selectionBackground": "#FFFFFF", "white": "#CCCCCC", "yellow": "#C19C00" }, { "background": "#012456", "black": "#0C0C0C", "blue": "#0037DA", "brightBlack": "#767676", "brightBlue": "#3B78FF", "brightCyan": "#61D6D6", "brightGreen": "#16C60C", "brightPurple": "#B4009E", "brightRed": "#E74856", "brightWhite": "#F2F2F2", "brightYellow": "#F9F1A5", "cursorColor": "#FFFFFF", "cyan": "#3A96DD", "foreground": "#CCCCCC", "green": "#13A10E", "name": "Campbell Powershell", "purple": "#881798", "red": "#C50F1F", "selectionBackground": "#FFFFFF", "white": "#CCCCCC", "yellow": "#C19C00" }, { "background": "#282C34", "black": "#282C34", "blue": "#61AFEF", "brightBlack": "#5A6374", "brightBlue": "#61AFEF", "brightCyan": "#56B6C2", "brightGreen": "#98C379", "brightPurple": "#C678DD", "brightRed": "#E06C75", "brightWhite": "#DCDFE4", "brightYellow": "#E5C07B", "cursorColor": "#FFFFFF", "cyan": "#56B6C2", "foreground": "#DCDFE4", "green": "#98C379", "name": "One Half Dark", "purple": "#C678DD", "red": "#E06C75", "selectionBackground": "#FFFFFF", "white": "#DCDFE4", "yellow": "#E5C07B" }, { "background": "#FAFAFA", "black": "#383A42", "blue": "#0184BC", "brightBlack": "#4F525D", "brightBlue": "#61AFEF", "brightCyan": "#56B5C1", "brightGreen": "#98C379", "brightPurple": "#C577DD", "brightRed": "#DF6C75", "brightWhite": "#FFFFFF", "brightYellow": "#E4C07A", "cursorColor": "#4F525D", "cyan": "#0997B3", "foreground": "#383A42", "green": "#50A14F", "name": "One Half Light", "purple": "#A626A4", "red": "#E45649", "selectionBackground": "#FFFFFF", "white": "#FAFAFA", "yellow": "#C18301" }, { "background": "#002B36", "black": "#002B36", "blue": "#268BD2", "brightBlack": "#073642", "brightBlue": "#839496", "brightCyan": "#93A1A1", "brightGreen": "#586E75", "brightPurple": "#6C71C4", "brightRed": "#CB4B16", "brightWhite": "#FDF6E3", "brightYellow": "#657B83", "cursorColor": "#FFFFFF", "cyan": "#2AA198", "foreground": "#839496", "green": "#859900", "name": "Solarized Dark", "purple": "#D33682", "red": "#DC322F", "selectionBackground": "#FFFFFF", "white": "#EEE8D5", "yellow": "#B58900" }, { "background": "#FDF6E3", "black": "#002B36", "blue": "#268BD2", "brightBlack": "#073642", "brightBlue": "#839496", "brightCyan": "#93A1A1", "brightGreen": "#586E75", "brightPurple": "#6C71C4", "brightRed": "#CB4B16", "brightWhite": "#FDF6E3", "brightYellow": "#657B83", "cursorColor": "#002B36", "cyan": "#2AA198", "foreground": "#657B83", "green": "#859900", "name": "Solarized Light", "purple": "#D33682", "red": "#DC322F", "selectionBackground": "#FFFFFF", "white": "#EEE8D5", "yellow": "#B58900" }, { "background": "#000000", "black": "#000000", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEC", "brightYellow": "#FCE94F", "cursorColor": "#FFFFFF", "cyan": "#06989A", "foreground": "#D3D7CF", "green": "#4E9A06", "name": "Tango Dark", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#FFFFFF", "black": "#000000", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEC", "brightYellow": "#FCE94F", "cursorColor": "#000000", "cyan": "#06989A", "foreground": "#555753", "green": "#4E9A06", "name": "Tango Light", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#2C001E", "black": "#4E9A06", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEE", "brightYellow": "#FCE94F", "cursorColor": "#FFFFFF", "cyan": "#06989A", "foreground": "#EEEEEE", "green": "#7DFF07", "name": "Ubuntu [Legit]", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#000000", "black": "#000000", "blue": "#000080", "brightBlack": "#808080", "brightBlue": "#0000FF", "brightCyan": "#00FFFF", "brightGreen": "#00FF00", "brightPurple": "#FF00FF", "brightRed": "#FF0000", "brightWhite": "#FFFFFF", "brightYellow": "#FFFF00", "cursorColor": "#FFFFFF", "cyan": "#008080", "foreground": "#E5E9F0", "green": "#008000", "name": "Vintage", "purple": "#800080", "red": "#800000", "selectionBackground": "#FFFFFF", "white": "#E5E9F0", "yellow": "#808000" }, { "background": "#2E3440", "black": "#000000", "blue": "#5E81AC", "brightBlack": "#808080", "brightBlue": "#81A1C1", "brightCyan": "#8FBCBB", "brightGreen": "#C6E9A7", "brightPurple": "#B48EAD", "brightRed": "#923E47", "brightWhite": "#FFFFFF", "brightYellow": "#FFFF00", "cursorColor": "#D8DEE9", "cyan": "#88C0D0", "foreground": "#D8DEE9", "green": "#A3BE8C", "name": "[Dark] Nord ", "purple": "#B48EAD", "red": "#BF616A", "selectionBackground": "#D8DEE9", "white": "#ECEFF4", "yellow": "#EBCB8B" }, { "background": "#2E3436", "black": "#2E3436", "blue": "#3465A4", "brightBlack": "#696B67", "brightBlue": "#729FCF", "brightCyan": "#2EC3C3", "brightGreen": "#79C32E", "brightPurple": "#AD7FA8", "brightRed": "#F49797", "brightWhite": "#FBFBFB", "brightYellow": "#FCE94F", "cursorColor": "#FFFFFF", "cyan": "#06989A", "foreground": "#B5BBAE", "green": "#4E9A06", "name": "[Dark] Ubuntu", "purple": "#75507B", "red": "#AE5E5E", "selectionBackground": "#FFFFFF", "white": "#B5BBAE", "yellow": "#C4A000" }, { "background": "#FBFBFB", "black": "#FBFBFB", "blue": "#729FCF", "brightBlack": "#B5BBAE", "brightBlue": "#3465A4", "brightCyan": "#06989A", "brightGreen": "#3B7505", "brightPurple": "#75507B", "brightRed": "#AE5E5E", "brightWhite": "#2E3436", "brightYellow": "#8A7000", "cursorColor": "#FFFFFF", "cyan": "#2EC3C3", "foreground": "#696B67", "green": "#79C32E", "name": "[Light] Ubuntu", "purple": "#AD7FA8", "red": "#F49797", "selectionBackground": "#B5BBAE", "white": "#696B67", "yellow": "#C4A000" } ], "tabSwitcherMode": "inOrder", "tabWidthMode": "compact", "themes": [], "windowingBehavior": "useAnyExisting" } ``` </details> ### Expected Behavior I want ALL tabs to open in the same window, not opening a new window just for that tab. It seems to only happen with that Command Prompt profile though and none of my other profiles, and I cant see anything in the settings that would cause this? All attempts to play with settings hasn't change the behavior. ### Actual Behavior See above.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 06:48:44 +00:00
Author
Owner

@DHowett commented on GitHub (Mar 30, 2023):

set to run as admin

Elevated profiles open in a separate instance of Windows Terminal. This limitation (unfortunate though it may be!) is called out in the documentation ☹️

@DHowett commented on GitHub (Mar 30, 2023): > set to run as admin Elevated profiles open in a separate instance of Windows Terminal. This limitation (unfortunate though it may be!) is [called out in the documentation](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-general#automatically-run-as-administrator) ☹️
Author
Owner

@YouveGotMeowxy commented on GitHub (Mar 30, 2023):

@DHowett Aww, I see. :\

It really made me wonder because on another pc I have the same setup, only I have the elevated command prompt set as the default, and when it first opens, no problem; the admin prompt shows in 1 window, but then ALL other new tabs, whether a Debian tab, or a new blank admin command prompt, show in that same window.

I guess maybe that's a hacky workaround? Always set the admin command prompt as the default profile. ugh

@YouveGotMeowxy commented on GitHub (Mar 30, 2023): @DHowett Aww, I see. :\ It really made me wonder because on another pc I have the same setup, only I have the elevated command prompt set as the default, and when it first opens, no problem; the admin prompt shows in 1 window, but then ALL other new tabs, whether a Debian tab, or a new blank admin command prompt, show in that same window. I guess maybe that's a hacky workaround? Always set the admin command prompt as the default profile. ugh
Author
Owner

@YouveGotMeowxy commented on GitHub (Mar 30, 2023):

Just confirmed the hacky workaround by setting that default profile to the admin cmd prompt as well. I guess I'll just have to deal with the QoL hit. lol

@YouveGotMeowxy commented on GitHub (Mar 30, 2023): Just confirmed the hacky workaround by setting that default profile to the admin cmd prompt as well. I guess I'll just have to deal with the QoL hit. lol
Author
Owner

@DHowett commented on GitHub (Mar 30, 2023):

Sorry about that. There are some sharp corners in automatic profile elevation. :/

@DHowett commented on GitHub (Mar 30, 2023): Sorry about that. There are some sharp corners in automatic profile elevation. :/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19614