macOS: moving a focused split to another tab should also update the previous tab

This commit is contained in:
Lukas
2025-12-31 14:57:15 +01:00
committed by Mitchell Hashimoto
parent 02fc0f502f
commit a265462aa6

View File

@@ -961,10 +961,9 @@ class BaseTerminalController: NSWindowController,
confirmUndo: false)
}
} else {
// The source isn't empty so we can do a simple replace which will handle
// The source isn't empty so we can do a simple remove which will handle
// the undo properly.
sourceController.replaceSurfaceTree(
sourceTreeWithoutNode)
sourceController.removeSurfaceNode(sourceNode)
}
// Add in the surface to our tree