Wait for events on the console.
(self, timeout: float | None)
| 564 | return True |
| 565 | |
| 566 | def wait(self, timeout: float | None) -> bool: |
| 567 | """ |
| 568 | Wait for events on the console. |
| 569 | """ |
| 570 | return ( |
| 571 | not self.event_queue.empty() |
| 572 | or self.wait_for_event(timeout) |
| 573 | ) |
| 574 | |
| 575 | def repaint(self) -> None: |
| 576 | raise NotImplementedError("No repaint support") |