aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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);
}