apprt/embedded: call core app reload config so changes go to all threads

This commit is contained in:
Mitchell Hashimoto
2023-09-13 18:29:28 -07:00
parent b4d2818522
commit c3bf054dd4

View File

@ -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;
}; };