summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r--lib/bb/ui/knotty.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 1396939fc..44d1c1dc9 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -96,8 +96,9 @@ def main(server, eventHandler):
return_value = 0
while True:
try:
- event = eventHandler.get()
-
+ event = eventHandler.waitEvent(0.25)
+ if event is None:
+ continue
helper.eventHandler(event)
if isinstance(event, bb.runqueue.runQueueExitWait):
if not shutdown: