diff options
author | Anders Rasmussen <divinegod@gmail.com> | 2017-02-17 17:17:10 +1100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-02-17 08:50:35 -0800 |
commit | 3ce6e1e4b2924b0d432cbb3e62b4bbef88dd38ff (patch) | |
tree | 70a6554eabf2f652ff16af6d921a797b2f4224da | |
parent | 62eb1e293898357ee46a9ba6c4e7cf87a6af1ea2 (diff) | |
download | alacritty-3ce6e1e4b2924b0d432cbb3e62b4bbef88dd38ff.tar.gz alacritty-3ce6e1e4b2924b0d432cbb3e62b4bbef88dd38ff.zip |
use an empty cell as template when resizing grids
-rw-r--r-- | src/term/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index a895d135..2849c6cf 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -863,7 +863,7 @@ impl Term { println!("num_cols, num_lines = {}, {}", num_cols, num_lines); // Resize grids to new size - let template = self.cursor.template; + let template = self.empty_cell; self.grid.resize(num_lines, num_cols, &template); self.alt_grid.resize(num_lines, num_cols, &template); |