apprt: add config_change action

This commit is contained in:
Mitchell Hashimoto
2024-11-20 15:08:47 -08:00
parent 3404816875
commit fadfb08efe
6 changed files with 56 additions and 2 deletions

View File

@@ -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.