fixed clear problem

This commit is contained in:
Mikayla Maki 2022-11-15 12:02:09 -08:00
parent e401caff7c
commit 01929037f1
2 changed files with 1 additions and 13 deletions

View file

@ -635,7 +635,7 @@ impl Terminal {
term.grid_mut().reset_region(..cursor.line);
// Copy the current line up
let line = term.grid()[cursor.line][..cursor.column]
let line = term.grid()[cursor.line][..Column(term.grid().columns())]
.iter()
.cloned()
.enumerate()