Fix 4+ line copying
This commit is contained in:
parent
c006dae161
commit
0484a07fe1
|
@ -991,7 +991,7 @@ impl Term {
|
|||
res.append(&self.grid, end.line, end.col..max_col);
|
||||
|
||||
let middle_range = (start.line + 1)..(end.line);
|
||||
for line in middle_range {
|
||||
for line in middle_range.rev() {
|
||||
res.append(&self.grid, line, Column(0)..max_col);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue