mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-03 20:34:41 +00:00
macos: isSplit guarding on focus split directions works
This commit is contained in:
@@ -72,7 +72,12 @@ extension SplitTree {
|
||||
var isEmpty: Bool {
|
||||
root == nil
|
||||
}
|
||||
|
||||
|
||||
/// Returns true if this tree is split.
|
||||
var isSplit: Bool {
|
||||
if case .split = root { true } else { false }
|
||||
}
|
||||
|
||||
init() {
|
||||
self.init(root: nil, zoomed: nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user