diff options
Diffstat (limited to 'src')
-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); |