Wait for events on the console.
(self, timeout: float | None = None)
| 417 | return self.event_queue.get() |
| 418 | |
| 419 | def wait(self, timeout: float | None = None) -> bool: |
| 420 | """ |
| 421 | Wait for events on the console. |
| 422 | """ |
| 423 | return ( |
| 424 | not self.event_queue.empty() |
| 425 | or self.more_in_buffer() |
| 426 | or bool(self.pollob.poll(timeout)) |
| 427 | ) |
| 428 | |
| 429 | def set_cursor_vis(self, visible): |
| 430 | """ |
no test coverage detected