From a265462aa65976e5d858ad13ca6fba7bf155be28 Mon Sep 17 00:00:00 2001 From: Lukas <134181853+bo2themax@users.noreply.github.com> Date: Wed, 31 Dec 2025 14:57:15 +0100 Subject: [PATCH] macOS: moving a focused split to another tab should also update the previous tab --- macos/Sources/Features/Terminal/BaseTerminalController.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/macos/Sources/Features/Terminal/BaseTerminalController.swift b/macos/Sources/Features/Terminal/BaseTerminalController.swift index ecf72dd34..71daafaeb 100644 --- a/macos/Sources/Features/Terminal/BaseTerminalController.swift +++ b/macos/Sources/Features/Terminal/BaseTerminalController.swift @@ -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