Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .console/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
_Chronological continuity log. Decisions, stop points, what changed and why._
_Not a task tracker — that's backlog.md. Keep entries concise and dated._

- Banner padding unified at half original (2026-05-08, on fix/banner-half-padding): Both single and multi-banner now use lp=(w-1)//4 and g=max(6,(w-1)//6) — half the original multi-banner values. Removes the single/multi branch entirely.

- Banner single-loop padding at half size (2026-05-08, on fix/banner-single-padding): Single-banner re-stream gets lp=(w-1)//4 and g=max(6,(w-1)//6) — half the original values — so there's a visible breath between loops. Multi-banner keeps lp="" and g=" " (4 spaces); the crossfade coloring is the boundary signal there.

- Banner padding stripped (2026-05-08, on fix/banner-strip-padding): Removed leading pad (`(w-1)//2` spaces) and large gap (`max(12, (w-1)//3)` spaces) from `_build_unit` and `_banner_unit_len`. Both cases now use a fixed 4-space separator between units — the tape streams the next banner in seamlessly so the large pads were dead space.
Expand Down
16 changes: 4 additions & 12 deletions src/operator_console/watcher_status_pane.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,12 +1208,8 @@ def _banner_unit_len(message: str, banner_count: int, banner_index: int, w: int)
"""
counter = f" [{banner_index + 1}/{banner_count}]" if banner_count > 1 else ""
payload = f" {message}{counter} "
if banner_count == 1:
lp = " " * ((w - 1) // 4)
g = " " * max(6, (w - 1) // 6)
else:
lp = ""
g = " "
lp = " " * ((w - 1) // 4)
g = " " * max(6, (w - 1) // 6)
return len(lp) + len(payload) + len(g)


Expand Down Expand Up @@ -1284,12 +1280,8 @@ def _build_unit(b_severity: str, b_message: str, b_idx: int) -> tuple[str, str]:
"""Return (full_unit_text, severity) for one banner condition."""
ctr = f" [{b_idx + 1}/{banner_count}]" if banner_count > 1 else ""
payload = f" {b_message}{ctr} "
if banner_count == 1:
lp = " " * ((w - 1) // 4)
g = " " * max(6, (w - 1) // 6)
else:
lp = ""
g = " "
lp = " " * ((w - 1) // 4)
g = " " * max(6, (w - 1) // 6)
return lp + payload + g, b_severity

severity, message = current_banner
Expand Down
Loading