N/A
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user