diff options
Diffstat (limited to 'alacritty_terminal/src/term/mod.rs')
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index b9462820..4aafde1f 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -1785,6 +1785,7 @@ impl<T: EventListener> ansi::Handler for Term<T> { if self.mode.contains(TermMode::ALT_SCREEN) { self.grid.region_mut(..).each(|c| c.reset(&template)); } else { + let template = Cell { bg: template.bg, ..Cell::default() }; self.grid.clear_viewport(&template); } }, |