diff options
-rw-r--r-- | src/grid.rs | 1 | ||||
-rw-r--r-- | src/term.rs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/grid.rs b/src/grid.rs index c3473d8c..8dbfd0b5 100644 --- a/src/grid.rs +++ b/src/grid.rs @@ -134,6 +134,7 @@ impl<T> Grid<T> { } } + #[inline] pub fn contains(&self, cursor: &Cursor) -> bool { self.lines > cursor.line && self.cols > cursor.col } diff --git a/src/term.rs b/src/term.rs index 3dfab06c..44d0d7d6 100644 --- a/src/term.rs +++ b/src/term.rs @@ -409,7 +409,6 @@ impl Term { // Scroll between origin and bottom { let end = self.scroll_region.end; - println!("origin={}, lines={}", origin, lines); let start = origin + lines; self.grid.scroll_down(start..end, lines); } |