summaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs2
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);
}