From 8c9a782dfe94525dc5f0893c98fd19543648264b Mon Sep 17 00:00:00 2001 From: historia Date: Tue, 25 Aug 2026 19:03:09 -0400 Subject: fix: tui errors wait for getch() --- app/ui/taskview.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/ui/taskview.py') 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 -- cgit v1.2.3