From f67b17ca7b2e0e47ad5eee24d8b86800c61139b4 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Thu, 15 Feb 2018 19:34:23 -0800 Subject: wip fix scroll_down --- src/grid/storage.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/grid/storage.rs') 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 Storage { } 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); -- cgit v1.2.3-54-g00ecf