Hide the cursor
(self)
| 545 | ) |
| 546 | |
| 547 | def hide_cursor(self) -> None: |
| 548 | """Hide the cursor""" |
| 549 | current_cursor_size = self._get_cursor_size() |
| 550 | invisible_cursor = CONSOLE_CURSOR_INFO(dwSize=current_cursor_size, bVisible=0) |
| 551 | SetConsoleCursorInfo(self._handle, cursor_info=invisible_cursor) |
| 552 | |
| 553 | def show_cursor(self) -> None: |
| 554 | """Show the cursor""" |