(&mut self, pos: CharsXY)
| 610 | } |
| 611 | |
| 612 | fn locate(&mut self, pos: CharsXY) -> io::Result<()> { |
| 613 | debug_assert!(pos.x < self.size_chars.x); |
| 614 | debug_assert!(pos.y < self.size_chars.y); |
| 615 | |
| 616 | let previous = self.set_sync(false)?; |
| 617 | self.clear_cursor()?; |
| 618 | self.cursor_pos = pos; |
| 619 | self.draw_cursor()?; |
| 620 | self.set_sync(previous)?; |
| 621 | Ok(()) |
| 622 | } |
| 623 | |
| 624 | fn move_within_line(&mut self, off: i16) -> io::Result<()> { |
| 625 | let previous = self.set_sync(false)?; |
nothing calls this directly
no test coverage detected