1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Fix resize behavior

Should prevent the messed up background colors that appear in some
situations (especially on tiling WMs).
This commit is contained in:
Joe Wilm 2017-10-14 10:07:40 -07:00
parent 68cca6eb38
commit fd410f9ec8

View file

@ -1024,7 +1024,7 @@ impl Term {
debug!("num_cols, num_lines = {}, {}", num_cols, num_lines);
// Resize grids to new size
let template = self.cursor.template;
let template = Cell::default();
self.grid.resize(num_lines, num_cols, &template);
self.alt_grid.resize(num_lines, num_cols, &template);