1
0
Fork 0
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:
Joe Wilm 2018-03-08 20:12:48 -08:00
parent c006dae161
commit 0484a07fe1

View file

@ -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);
} }