mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-16 08:18:20 +00:00
macos: fix iOS builds
This commit is contained in:
@@ -461,6 +461,7 @@ extension Ghostty {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if canImport(AppKit)
|
||||||
/// When changing the split state, or going full screen (native or non), the terminal view
|
/// When changing the split state, or going full screen (native or non), the terminal view
|
||||||
/// will lose focus. There has to be some nice SwiftUI-native way to fix this but I can't
|
/// will lose focus. There has to be some nice SwiftUI-native way to fix this but I can't
|
||||||
/// figure it out so we're going to do this hacky thing to bring focus back to the terminal
|
/// figure it out so we're going to do this hacky thing to bring focus back to the terminal
|
||||||
@@ -514,6 +515,7 @@ extension Ghostty {
|
|||||||
queue.async(execute: work)
|
queue.async(execute: work)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: Surface Environment Keys
|
// MARK: Surface Environment Keys
|
||||||
|
Reference in New Issue
Block a user