mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: iOS bg color extends to unsafe areas
This commit is contained in:
@ -16,7 +16,12 @@ struct iOS_GhosttyTerminal: View {
|
|||||||
@EnvironmentObject private var ghostty_app: Ghostty.App
|
@EnvironmentObject private var ghostty_app: Ghostty.App
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Ghostty.Terminal()
|
ZStack {
|
||||||
|
// Make sure that our background color extends to all parts of the screen
|
||||||
|
Color(ghostty_app.config.backgroundColor).ignoresSafeArea()
|
||||||
|
|
||||||
|
Ghostty.Terminal()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user