fixed clear problem
This commit is contained in:
parent
e401caff7c
commit
01929037f1
2 changed files with 1 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue