diff options
author | Joe Wilm <joe@jwilm.com> | 2018-03-08 20:12:48 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-03-08 20:12:48 -0800 |
commit | ec49105203934a342d4aa416029ebdbbdeb1cce9 (patch) | |
tree | 6ac950b9cf403f770990555d8e5d8a8d55a938da | |
parent | 80f46cc59f72213bc191c0c50159b9b69cd30df5 (diff) | |
download | alacritty-ec49105203934a342d4aa416029ebdbbdeb1cce9.tar.gz alacritty-ec49105203934a342d4aa416029ebdbbdeb1cce9.zip |
Fix 4+ line copying
-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 83b9e7da..6e624eca 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -989,7 +989,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); } |