diff --git a/macos/Sources/Ghostty/Ghostty.SplitView.swift b/macos/Sources/Ghostty/Ghostty.SplitView.swift index d33aebd14..e2af77be3 100644 --- a/macos/Sources/Ghostty/Ghostty.SplitView.swift +++ b/macos/Sources/Ghostty/Ghostty.SplitView.swift @@ -81,6 +81,7 @@ extension Ghostty { assert(state.direction != .none) assert(state.bottomRight != nil) state.topLeft = state.bottomRight! + state.bottomRight = nil state.direction = .none // See fixFocus comment, we have to run this whenever split changes.