mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-30 15:08:38 +00:00
macos: terminal not found should be an error
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
enum GhosttyIntentError: Error, CustomLocalizedStringResourceConvertible {
|
||||
case appUnavailable
|
||||
case surfaceNotFound
|
||||
|
||||
var localizedStringResource: LocalizedStringResource {
|
||||
switch self {
|
||||
case .appUnavailable: return "The Ghostty app isn't properly initialized."
|
||||
case .surfaceNotFound: return "The terminal no longer exists."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user