mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 01:46:33 +00:00
macos: detect renderer health failures and show error view
This commit is contained in:
@@ -55,7 +55,7 @@ pub const Renderer = switch (build_config.renderer) {
|
||||
/// The health status of a renderer. These must be shared across all
|
||||
/// renderers even if some states aren't reachable so that our API users
|
||||
/// can use the same enum for all renderers.
|
||||
pub const Health = enum(u8) {
|
||||
pub const Health = enum(c_int) {
|
||||
healthy = 0,
|
||||
unhealthy = 1,
|
||||
};
|
||||
|
Reference in New Issue
Block a user