mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
apprt/embedded: call core app reload config so changes go to all threads
This commit is contained in:
@ -781,7 +781,7 @@ pub const CAPI = struct {
|
|||||||
|
|
||||||
/// Reload the configuration.
|
/// Reload the configuration.
|
||||||
export fn ghostty_app_reload_config(v: *App) void {
|
export fn ghostty_app_reload_config(v: *App) void {
|
||||||
_ = v.reloadConfig() catch |err| {
|
_ = v.core_app.reloadConfig(v) catch |err| {
|
||||||
log.err("error reloading config err={}", .{err});
|
log.err("error reloading config err={}", .{err});
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user