aboutsummaryrefslogtreecommitdiff
path: root/src/grid/storage.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2018-02-15 19:34:23 -0800
committerJoe Wilm <joe@jwilm.com>2018-06-02 09:32:29 -0700
commitf67b17ca7b2e0e47ad5eee24d8b86800c61139b4 (patch)
tree0cff58861d74853e2bf6d67e6b2729083f0bb3ba /src/grid/storage.rs
parent9b9b138bac9353d2d95ce71ec155c3a9b2963491 (diff)
downloadalacritty-f67b17ca7b2e0e47ad5eee24d8b86800c61139b4.tar.gz
alacritty-f67b17ca7b2e0e47ad5eee24d8b86800c61139b4.zip
wip fix scroll_down
Diffstat (limited to 'src/grid/storage.rs')
-rw-r--r--src/grid/storage.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grid/storage.rs b/src/grid/storage.rs
index b4228687..0ca2f525 100644
--- a/src/grid/storage.rs
+++ b/src/grid/storage.rs
@@ -69,6 +69,7 @@ impl<T> Storage<T> {
}
pub fn swap_lines(&mut self, a: Line, b: Line) {
+ println!("visible: {}, a: {}, b: {}", self.visible_lines, a, b);
let a = self.visible_lines - a;
let b = self.visible_lines - b;
self.swap(*a, *b);