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

umputun / agterm / 29160675921
98%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2026 04:57PM UTC
Jobs 1
Files 60
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

11 Jul 2026 04:55PM UTC coverage: 98.576% (+0.005%) from 98.571%
29160675921

push

github

web-flow
fix: let agtermctl font target a split or scratch pane (#188)

`agtermctl font inc|dec|reset` only accepted `--target`/`--window` and always resized the session's main/left surface, so a split pane's font was unreachable from the CLI even though the two panes hold independent sizes (#186).

**Pane targeting**

Adds a `--pane left|right|scratch` option, mirroring the existing `session type`/`session text` pane addressing:

- omitted or `left` targets the main pane (unchanged behavior, via `addressableSurface`, which also reaches a promoted split survivor once the primary pane's shell exits)
- `right` targets the split pane (`session has no split pane` when there is none)
- `scratch` targets the session's scratch terminal, settable even while hidden (`session has no scratch terminal` when none is open)

Pane resolution and validation run server-side in the `ControlServer` font arm, so a raw socket client can't bypass them; the CLI validates via the shared `validatePaneArgument`. `performBindingAction` now returns a discardable `Bool`, so the font arm reports `session not realized` when a pane's surface isn't libghostty-realized yet instead of a silent false ok, matching `session.type`'s `inject()`.

**Read-back**

`agtermctl tree` now exposes each pane's live font size so a script can confirm a change: `fontSize` (the default/left pane, resolved via `addressableSurface`, so the main pane or the promoted split survivor), `splitFontSize` (the split pane), and `scratchFontSize` (the scratch terminal). Each is omitted when its pane isn't realized. Only the main pane's size persists across relaunch; the split/scratch surfaces' `onFontSizeChange` is deliberately unwired, matching a GUI cmd +/- on those panes, so read the live values back from the tree rather than the snapshot.

**Tests + docs**

Threaded through `ControlDispatcher` and the `agtermctl` CLI. Adds dispatcher and CLI unit tests, `AppStore`/protocol round-trip tests for the three tree fields (incl... (continued)

23 of 23 new or added lines in 4 files covered. (100.0%)

4431 of 4495 relevant lines covered (98.58%)

6688644.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29160675921.1 11 Jul 2026 04:57PM UTC 60
98.58
GitHub Action Run
Source Files on build 29160675921
  • Tree
  • List 60
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29160675921
  • a17fc350 on github
  • Prev Build on master (#29160114032)
  • Next Build on master (#29161502895)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc