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-03-07 09:47:21 -0800
commit96da93efd63ff3cf7e9f02b6dd3086bc3f876de9 (patch)
tree0d82dc5edcbedf6e41130d7c7b0225190278f3aa /src/grid/storage.rs
parent8854124ff09e4518721e1f4468d2952a305a5284 (diff)
downloadalacritty-96da93efd63ff3cf7e9f02b6dd3086bc3f876de9.tar.gz
alacritty-96da93efd63ff3cf7e9f02b6dd3086bc3f876de9.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);