Move the cursor up a single cell
(self)
| 491 | ) |
| 492 | |
| 493 | def move_cursor_up(self) -> None: |
| 494 | """Move the cursor up a single cell""" |
| 495 | cursor_position = self.cursor_position |
| 496 | SetConsoleCursorPosition( |
| 497 | self._handle, |
| 498 | coords=WindowsCoordinates( |
| 499 | row=cursor_position.row - 1, col=cursor_position.col |
| 500 | ), |
| 501 | ) |
| 502 | |
| 503 | def move_cursor_down(self) -> None: |
| 504 | """Move the cursor down a single cell""" |