mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Fix 4+ line copying
This commit is contained in:
parent
c006dae161
commit
0484a07fe1
1 changed files with 1 additions and 1 deletions
|
@ -991,7 +991,7 @@ impl Term {
|
||||||
res.append(&self.grid, end.line, end.col..max_col);
|
res.append(&self.grid, end.line, end.col..max_col);
|
||||||
|
|
||||||
let middle_range = (start.line + 1)..(end.line);
|
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);
|
res.append(&self.grid, line, Column(0)..max_col);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue