Merge pull request #448 from mitchellh/lig-reload

macos: ensure all components are updated on config reload
This commit is contained in:
Mitchell Hashimoto
2023-09-13 19:13:16 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -781,7 +781,7 @@ pub const CAPI = struct {
/// Reload the configuration.
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});
return;
};

View File

@ -110,7 +110,7 @@ palette: Palette = .{},
/// In order to fix it, we probably would want to add something similar to Kitty's
/// shell integration options (no-cursor). For more information see:
/// https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.shell_integration
@"cursor-style": terminal.Cursor.Style = .bar,
@"cursor-style": terminal.Cursor.Style = .block,
/// Whether the cursor shall blink
@"cursor-style-blink": bool = true,