From 6ccb6d443d2fb871b43d96ea61a95bc3e6a92355 Mon Sep 17 00:00:00 2001 From: historia Date: Wed, 26 Aug 2026 17:46:48 -0400 Subject: feat: combined install/configure tui screens into one menu, removed extraneous wizard screens --- app/ui/taskview.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'app/ui/taskview.py') diff --git a/app/ui/taskview.py b/app/ui/taskview.py index 0d3b445..c5c2ff7 100644 --- a/app/ui/taskview.py +++ b/app/ui/taskview.py @@ -52,15 +52,9 @@ from ui.viewkit import (TERMINAL_PHASES as _TERMINAL, ScreenView, _box, _fit, _format_elapsed, _sep, _text) -# Redraw cadence for the timed getch (milliseconds). -_DRAW_TIMEOUT_MS = 250 - # How many recent output lines the log tail keeps. _LOG_TAIL = 10 -# Terminal state: the run is over and the screen waits for a key. -_TERMINAL = ("done", "error", "cancelled") - # Progress-line matchers, in order of precedence. _PROGRESS_BYTES = re.compile(r"AUDIOCPP_PROGRESS downloaded=(\d+) total=(\d+)") _PROGRESS_PERCENT = re.compile(r"(\d{1,3})%") @@ -592,7 +586,6 @@ class _LaneState: self.finished = False - class _GetchModes: """The blocking/non-blocking getch switching shared by all views.""" @@ -836,7 +829,7 @@ class LanesView(_GetchModes): rects = [(1, 1, width - 2, top_h), (1, 2 + top_h, width - 2, inner_h - top_h - 1)] - for lane, (x, y, w, h) in zip(self._lanes, rects): + for lane, (x, y, w, h) in zip(self._lanes, rects, strict=False): self._draw_pane(curses, theme, x, y, w, h, lane, terminal) if self.phase == "done": -- cgit v1.2.3