Erases all text on the screen. Resets `self.x_pos` and `self.y_pos`.
(&mut self)
| 78 | |
| 79 | /// Erases all text on the screen. Resets `self.x_pos` and `self.y_pos`. |
| 80 | pub fn clear(&mut self) { |
| 81 | self.x_pos = BORDER_PADDING; |
| 82 | self.y_pos = BORDER_PADDING; |
| 83 | self.framebuffer.fill(0); |
| 84 | } |
| 85 | |
| 86 | fn width(&self) -> usize { |
| 87 | self.info.width |
no outgoing calls
no test coverage detected