mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-22 19:18:36 +00:00
macos: add ErrorView
This commit is contained in:
@@ -16,9 +16,9 @@ struct GhosttyApp: App {
|
||||
WindowGroup {
|
||||
switch ghostty.readiness {
|
||||
case .error:
|
||||
Text("Error")
|
||||
ErrorView()
|
||||
case .ready:
|
||||
Text("Hello!").font(.largeTitle)
|
||||
ContentView()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user