summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alacritty/src/display/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty/src/display/mod.rs b/alacritty/src/display/mod.rs
index 28c91cdb..ef25f735 100644
--- a/alacritty/src/display/mod.rs
+++ b/alacritty/src/display/mod.rs
@@ -617,6 +617,10 @@ impl Display {
cell_height = cell_dimensions.1;
info!("Cell size: {} x {}", cell_width, cell_height);
+
+ // Mark entire terminal as damaged since glyph size could change without cell size
+ // changes.
+ self.damage_tracker.frame().mark_fully_damaged();
}
let (mut width, mut height) = (self.size_info.width(), self.size_info.height());