macos: rename surfaceTree2 to surfaceTree

This commit is contained in:
Mitchell Hashimoto
2025-06-04 11:53:19 -07:00
parent f1ed07caf4
commit 77458ef308
8 changed files with 59 additions and 61 deletions

View File

@@ -921,7 +921,7 @@ extension Ghostty {
// we should only be returning true if we actually performed the action,
// but this handles the most common case of caring about goto_split performability
// which is the no-split case.
guard controller.surfaceTree2.isSplit else { return false }
guard controller.surfaceTree.isSplit else { return false }
NotificationCenter.default.post(
name: Notification.ghosttyFocusSplit,