macos: iOS bg color extends to unsafe areas

This commit is contained in:
Mitchell Hashimoto
2024-01-18 20:31:41 -08:00
parent fd782746d4
commit 8b01d79502

View File

@ -16,7 +16,12 @@ struct iOS_GhosttyTerminal: View {
@EnvironmentObject private var ghostty_app: Ghostty.App
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()
}
}
}