Set the visibility of the cursor. Parameters: - visible (bool): Visibility flag.
(self, visible)
| 427 | ) |
| 428 | |
| 429 | def set_cursor_vis(self, visible): |
| 430 | """ |
| 431 | Set the visibility of the cursor. |
| 432 | |
| 433 | Parameters: |
| 434 | - visible (bool): Visibility flag. |
| 435 | """ |
| 436 | if visible: |
| 437 | self.__show_cursor() |
| 438 | else: |
| 439 | self.__hide_cursor() |
| 440 | |
| 441 | if TIOCGWINSZ: |
| 442 |
nothing calls this directly
no test coverage detected