mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-31 04:39:01 +00:00
Remove custom CAPI function
and use the already existing get_config function
This commit is contained in:
committed by
Mitchell Hashimoto
parent
3cb21dd76e
commit
ddb9be0971
@@ -119,10 +119,6 @@ export fn ghostty_config_get_error(self: *Config, idx: u32) Error {
|
||||
return .{ .message = err.message.ptr };
|
||||
}
|
||||
|
||||
export fn ghostty_config_render_decoration(self: *Config) bool {
|
||||
return self.@"window-decoration";
|
||||
}
|
||||
|
||||
/// Sync with ghostty_error_s
|
||||
const Error = extern struct {
|
||||
message: [*:0]const u8 = "",
|
||||
|
||||
Reference in New Issue
Block a user