Merge pull request #821 from gpanders/macos-split-close-fixup

macos: set id on nested terminal splits
This commit is contained in:
Mitchell Hashimoto
2023-11-05 17:43:02 -08:00
committed by GitHub

View File

@ -345,6 +345,7 @@ extension Ghostty {
let neighbors: SplitNode.Neighbors
var body: some View {
Group {
switch (node) {
case nil:
Color(.clear)
@ -373,6 +374,8 @@ extension Ghostty {
)
}
}
.id(node)
}
}
/// When changing the split state, or going full screen (native or non), the terminal view