aboutsummaryrefslogtreecommitdiff
path: root/app/ui/taskview.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/ui/taskview.py')
-rw-r--r--app/ui/taskview.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/ui/taskview.py b/app/ui/taskview.py
index c4fd35e..6708304 100644
--- a/app/ui/taskview.py
+++ b/app/ui/taskview.py
@@ -349,6 +349,9 @@ class TaskView:
return self._result_rc()
finally:
self._cancel.set()
+ # Leave the screen blocking again: the timed redraw getch must
+ # not make later hub dialogs (e.g. tui.flash) dismiss themselves.
+ self._blocking()
def _result_rc(self) -> int:
"""The exit code for the whole run (cancelled counts as failure)."""
@@ -860,6 +863,9 @@ class LanesView:
return self._result_rc()
finally:
self._cancel.set()
+ # Leave the screen blocking again: the timed redraw getch
+ # must not make later hub dialogs dismiss themselves.
+ self._blocking()
finally:
sys.stdout, sys.stderr = saved_out, saved_err