terminal: always call update_colors on set_config
This commit is contained in:
parent
38d6ca4ac8
commit
7c5d5440e5
1 changed files with 4 additions and 1 deletions
|
|
@ -572,11 +572,14 @@ impl Terminal {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if changed {
|
if changed {
|
||||||
self.update_colors(config);
|
|
||||||
update = true;
|
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 {
|
if update_cell_size {
|
||||||
self.update_cell_size();
|
self.update_cell_size();
|
||||||
} else if update {
|
} else if update {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue