diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-10 08:25:23 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-10 08:25:23 -0500 |
commit | 1fde57f6119e2a0a0cc6edd3123cb20c884a6ced (patch) | |
tree | 2c859bcb64bf0e029d5bed002711ea1923517658 /src | |
parent | 5ba8dac7ca4e39713228a9571265b857aabd8c41 (diff) | |
download | vt100-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.rs | 8 |
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); - } } |