mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-17 07:16:12 +00:00
apprt: add config_change
action
This commit is contained in:
@@ -1127,6 +1127,13 @@ pub fn updateConfig(
|
||||
self.queueRender() catch |err| {
|
||||
log.warn("failed to notify renderer of config change err={}", .{err});
|
||||
};
|
||||
|
||||
// Notify the window
|
||||
try self.rt_app.performAction(
|
||||
.{ .surface = self },
|
||||
.config_change,
|
||||
.{ .config = config },
|
||||
);
|
||||
}
|
||||
|
||||
/// Returns true if the terminal has a selection.
|
||||
|
Reference in New Issue
Block a user