diff --git a/src/renderer/Metal.zig b/src/renderer/Metal.zig index 00104ffa8..81518c6e6 100644 --- a/src/renderer/Metal.zig +++ b/src/renderer/Metal.zig @@ -1305,6 +1305,11 @@ pub fn changeConfig(self: *Metal, config: *DerivedConfig) !void { // Set our new minimum contrast self.uniforms.min_contrast = config.min_contrast; + // Set our new colors + self.background_color = config.background; + self.foreground_color = config.foreground; + self.cursor_color = config.cursor_color; + self.config.deinit(); self.config = config.*; } diff --git a/src/renderer/OpenGL.zig b/src/renderer/OpenGL.zig index de7b3ffbf..aea6991df 100644 --- a/src/renderer/OpenGL.zig +++ b/src/renderer/OpenGL.zig @@ -1658,6 +1658,11 @@ pub fn changeConfig(self: *OpenGL, config: *DerivedConfig) !void { self.font_shaper = font_shaper; } + // Set our new colors + self.background_color = config.background; + self.foreground_color = config.foreground; + self.cursor_color = config.cursor_color; + // Update our uniforms self.deferred_config = .{};