diff options
author | Joe Wilm <joe@jwilm.com> | 2018-03-08 20:12:48 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:36:27 -0700 |
commit | 0484a07fe1bdedd658e74907a7f2bdeb068688db (patch) | |
tree | b29e6207d6a61187a3f2fc2ce90dd0d195ca2a31 /src | |
parent | c006dae1619e419e7e9750c3ee432a54f756cc14 (diff) | |
download | alacritty-0484a07fe1bdedd658e74907a7f2bdeb068688db.tar.gz alacritty-0484a07fe1bdedd658e74907a7f2bdeb068688db.zip |
Fix 4+ line copying
Diffstat (limited to 'src')
-rw-r--r-- | src/term/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index d1ce1d58..c3c3a300 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -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); } |