Description
Windows Terminal version
1.21.1272.0
Windows build number
Microsoft Windows [Version 10.0.22631.3593]
Other Software
No response
Steps to reproduce
- Include this snippet in your
settings.json
:
{
"command":
{
"action": "multipleActions",
"actions":
[
{
"action": "duplicateTab"
},
{
"action": "moveTab",
"window": "new"
}
]
},
"keys": "ctrl+shift+f12"
},
- Open Windows Terminal
- Press Ctrl+Shift+F12
- See it crash.
Expected Behavior
I was hoping to create a new entry with multipleActions
to 1. duplicate the current tab into a new tab, 2. move it to its own window. @zadjii-msft had proposed this great workaround as a way to clone the current tab into a new window, in #14350 (comment).
Actual Behavior
Windows Terminal crashes.
Noting that using multipleActions
with just the duplicateTab
action works, but it only duplicates the tab.
Similarly, referencing just the moveTab
action works.
Combining them both in multipleActions
causes Terminal to crash.
There was a similar bug where manipulating tabs as part of multipleActions
was causing issues:
#11107
And there was a fix to the way Windows Terminal handled tab movement in multipleActions
.
#11144
Maybe a similar problem still exists when creating a new tab as part of multipleActions
.
Activity