From 7c5d5440e5a560238de3666d7ead6970477a7dd6 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 19 Apr 2024 14:09:32 -0600 Subject: [PATCH] terminal: always call update_colors on set_config --- src/terminal.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/terminal.rs b/src/terminal.rs index ab040ca..ba72435 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -572,11 +572,14 @@ impl Terminal { } } if changed { - self.update_colors(config); update = true; } } + //TODO: this is done on every set_config because the changed boolean above does not capture + // WINDOW_BG changes + self.update_colors(config); + if update_cell_size { self.update_cell_size(); } else if update {