aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-10 08:25:23 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-10 08:25:23 -0500
commit1fde57f6119e2a0a0cc6edd3123cb20c884a6ced (patch)
tree2c859bcb64bf0e029d5bed002711ea1923517658 /src
parent5ba8dac7ca4e39713228a9571265b857aabd8c41 (diff)
downloadvt100-rust-1fde57f6119e2a0a0cc6edd3123cb20c884a6ced.tar.gz
vt100-rust-1fde57f6119e2a0a0cc6edd3123cb20c884a6ced.zip
remove the scroll_to and scroll_pos methods
they are unnecessary, you can just call the methods on the screen object directly
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/parser.rs b/src/parser.rs
index a18f7e8..0cabb1a 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -36,12 +36,4 @@ impl Parser {
pub fn screen_mut(&mut self) -> &mut crate::screen::Screen {
&mut self.screen
}
-
- pub fn scroll_pos(&self) -> usize {
- self.screen.scrollback()
- }
-
- pub fn scroll_to(&mut self, idx: usize) {
- self.screen.set_scrollback(idx);
- }
}