mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
Merge pull request #448 from mitchellh/lig-reload
macos: ensure all components are updated on config reload
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;
|
||||||
};
|
};
|
||||||
|
@ -110,7 +110,7 @@ palette: Palette = .{},
|
|||||||
/// In order to fix it, we probably would want to add something similar to Kitty's
|
/// 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:
|
/// shell integration options (no-cursor). For more information see:
|
||||||
/// https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.shell_integration
|
/// 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
|
/// Whether the cursor shall blink
|
||||||
@"cursor-style-blink": bool = true,
|
@"cursor-style-blink": bool = true,
|
||||||
|
Reference in New Issue
Block a user