(&mut self, max: u16)
| 197 | } |
| 198 | |
| 199 | pub fn scroll_down(&mut self, max: u16) { |
| 200 | if self.scroll_offset < max { |
| 201 | self.scroll_offset += 1; |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | pub fn render(&self, frame: &mut Frame, area: Rect, theme: &Theme) { |
| 206 | if self.lines.is_empty() { |
no outgoing calls
no test coverage detected