(&mut self)
| 659 | } |
| 660 | |
| 661 | fn show_cursor(&mut self) -> io::Result<()> { |
| 662 | if !self.cursor_visible { |
| 663 | self.cursor_visible = true; |
| 664 | if let Err(e) = self.draw_cursor() { |
| 665 | self.cursor_visible = false; |
| 666 | return Err(e); |
| 667 | } |
| 668 | } |
| 669 | self.present_canvas() |
| 670 | } |
| 671 | |
| 672 | fn size_chars(&self) -> io::Result<CharsXY> { |
| 673 | Ok(self.size_chars) |
nothing calls this directly
no test coverage detected