• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / agterm / 31151589951
98%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2026 05:47AM UTC
Jobs 1
Files 91
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 05:44AM UTC coverage: 97.872% (-0.009%) from 97.881%
31151589951

push

github

web-flow
feat(control): hud corner placement and text color

two additions to `session hud`, both asked for in discussion 384.

**placement.** `--position` now takes the nine anchors of a 3x3 grid, spelled exactly as
`session background` spells them, so the shared `--position` field means one thing across both
commands. Every anchor off center holds a fixed edge margin on each axis it names, which is what lets
a panel sit in a corner instead of over the text being read. The bare `top` and `bottom` it shipped
with stay accepted as aliases for the middle column and normalize on read-back, so existing callers
keep working and `tree` reports one spelling.

`HudPosition.parse` is the single entry point for turning text into an anchor. The dispatcher, the
CLI's local validation and `Decodable` all go through it, so no path accepts a name another rejects.
Rejections and help list `acceptedNamesList` rather than the canonical set alone, the same split
`HudSpinner` already makes for `none`.

**text color.** `--text-color` colors the panel's text. It rides the body file's header as SGR
parameters rather than a per-surface config, which is why an update can change it while
`--background-color` still cannot: the surface reads the backing once at creation, the painter
re-reads the header every tick. `hud update` therefore takes `--text-color` and no
`--background-color`. `HudLayout.foregroundSGR` owns the encoding, host-free; `hud.sh` converts
nothing and wraps only digits and semicolons, so a malformed header cannot emit an arbitrary escape
into the pane.

the header gained one fixed field, before the variable-length spinner frames, and the helper's shift
count moved with it.

read-back carries `textColor` beside `backgroundColor`, with opposite update lifetimes: the
background is the color the panel was created with, the text color tracks the latest update.

verified against a live Debug instance across all nine anchors and an amber/green/red recolor
sequence on one pane... (continued)

64 of 66 new or added lines in 5 files covered. (96.97%)

7450 of 7612 relevant lines covered (97.87%)

4514130.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.42
-0.91% agtermCore/Sources/agtermCore/Hud.swift
Jobs
ID Job ID Ran Files Coverage
1 31151589951.1 07 Aug 2026 05:47AM UTC 91
97.87
GitHub Action Run
Source Files on build 31151589951
  • Tree
  • List 91
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31151589951
  • 1923906e on github
  • Prev Build on master (#31084874881)
  • Next Build on master (#31162556244)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc