Merge pull request #162971 from microsoft/tyriar/159907

Fix active terminal tab when moving a group to the bottom of the tabs list
This commit is contained in:
Daniel Imms 2022-10-07 13:21:15 -07:00 committed by GitHub
commit bf9ebd7c2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -677,6 +677,7 @@ class TerminalTabsDragAndDrop implements IListDragAndDrop<ITerminalInstance> {
if (!targetInstance) {
this._terminalGroupService.moveGroupToEnd(sourceInstances[0]);
this._terminalService.setActiveInstance(sourceInstances[0]);
return;
}