mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
use an empty cell as template when resizing grids
This commit is contained in:
parent
62eb1e2938
commit
3ce6e1e4b2
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ impl Term {
|
||||||
println!("num_cols, num_lines = {}, {}", num_cols, num_lines);
|
println!("num_cols, num_lines = {}, {}", num_cols, num_lines);
|
||||||
|
|
||||||
// Resize grids to new size
|
// Resize grids to new size
|
||||||
let template = self.cursor.template;
|
let template = self.empty_cell;
|
||||||
self.grid.resize(num_lines, num_cols, &template);
|
self.grid.resize(num_lines, num_cols, &template);
|
||||||
self.alt_grid.resize(num_lines, num_cols, &template);
|
self.alt_grid.resize(num_lines, num_cols, &template);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue