mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 03:25:50 +00:00
macOS: moving a focused split to another tab should also update the previous tab
This commit is contained in:
committed by
Mitchell Hashimoto
parent
02fc0f502f
commit
a265462aa6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user