Set the visibility of the cursor. Parameters: - visible (bool): Visibility flag.
(self, visible)
| 447 | ) |
| 448 | |
| 449 | def set_cursor_vis(self, visible): |
| 450 | """ |
| 451 | Set the visibility of the cursor. |
| 452 | |
| 453 | Parameters: |
| 454 | - visible (bool): Visibility flag. |
| 455 | """ |
| 456 | if visible: |
| 457 | self.__show_cursor() |
| 458 | else: |
| 459 | self.__hide_cursor() |
| 460 | |
| 461 | if TIOCGWINSZ: |
| 462 |
nothing calls this directly
no test coverage detected