Skip to content

Commit

Permalink
terminal: always call update_colors on set_config
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Apr 19, 2024
1 parent 38d6ca4 commit 7c5d544
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/terminal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7c5d544

Please sign in to comment.