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:
parent
68cca6eb38
commit
fd410f9ec8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue