mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
Merge pull request #821 from gpanders/macos-split-close-fixup
macos: set id on nested terminal splits
This commit is contained in:
@ -345,6 +345,7 @@ extension Ghostty {
|
|||||||
let neighbors: SplitNode.Neighbors
|
let neighbors: SplitNode.Neighbors
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
Group {
|
||||||
switch (node) {
|
switch (node) {
|
||||||
case nil:
|
case nil:
|
||||||
Color(.clear)
|
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
|
/// When changing the split state, or going full screen (native or non), the terminal view
|
||||||
|
Reference in New Issue
Block a user