This commit is contained in:
Joakim
2026-10-13 22:36:53 +02:00
parent 769d03ae9d
commit e918554787
3 changed files with 8 additions and 3 deletions

View File

@@ -516,7 +516,12 @@ class App:
self.draw(status, self.display_messages())
key = self.s.get_wch()
try:
key = self.s.get_wch()
except curses.error:
# timeout() lets streaming update the display while waiting
# for keyboard input. curses raises ERR on timeout.
continue
if key == -1:
continue