summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/ncurses.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/ncurses.py')
-rw-r--r--lib/bb/ui/ncurses.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/ui/ncurses.py b/lib/bb/ui/ncurses.py
index ab626c9df..469f1b730 100644
--- a/lib/bb/ui/ncurses.py
+++ b/lib/bb/ui/ncurses.py
@@ -244,7 +244,9 @@ class NCursesUI:
exitflag = False
while not exitflag:
try:
- event = eventHandler.get()
+ event = eventHandler.waitEvent(0.25)
+ if not event:
+ continue
helper.eventHandler(event)
if isinstance(event, bb.build.TaskBase):