mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 21:40:29 +00: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
|
||||
|
||||
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