aboutsummaryrefslogtreecommitdiffstats
path: root/src/grid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid.rs')
-rw-r--r--src/grid.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/grid.rs b/src/grid.rs
index 1f1100d..0e0ff9d 100644
--- a/src/grid.rs
+++ b/src/grid.rs
@@ -304,14 +304,7 @@ impl Grid {
}
}
- // TODO: left/right
- pub fn set_scroll_region(
- &mut self,
- top: u16,
- bottom: u16,
- _left: u16,
- _right: u16,
- ) {
+ pub fn set_scroll_region(&mut self, top: u16, bottom: u16) {
let bottom = bottom.min(self.size().rows - 1);
if top < bottom {
self.scroll_top = top;