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

umputun / agterm / 29120682989
98%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2026 08:16PM 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

10 Jul 2026 08:13PM UTC coverage: 98.546% (+0.005%) from 98.541%
29120682989

push

github

web-flow
fix: clear the active agent-status glyph on Ctrl-C, not just Escape (#185)

* fix: clear the active glyph on Ctrl-C, not just Escape

the active agent-status glyph cleared only on a physical Escape (keyCode 53).
Ctrl-C dismisses a pending prompt in Claude Code and most TUIs exactly like Esc,
yet arrived as .control+"c" and left the working glyph stranded after an interrupt.

keyDown now computes the flag via isInterruptKeystroke — Escape, or a bare Ctrl-C
(control held, base letter c, no command/option) — and the host-free clear flag is
renamed isEscape -> isInterrupt through AgentStatus.clearedByKeystroke, clearedBy,
the surface closure, and their tests, so the name no longer lies. blocked/completed
already cleared on any key, so only active changes; Ctrl-C to a working agent stops
it, so clearing there is correct.

the Ctrl-C wiring lives in the app target, which host-free tests can't reach, so a
focused e2e (testCtrlCClearsActiveStatus) covers it. rule docs updated.

* fix(review-loop): iteration 1 addressed 5 findings

- [major] [GhosttySurfaceView+Input.swift:39] Ctrl-C was matched only by the
  produced character ("c"), which fails on non-Latin layouts where the physical C
  key yields e.g. Cyrillic "с" — the stale active glyph never cleared there. Match
  the base letter OR the physical c key (keyCode 8), the same layout-independent
  fallback the super+key_c binds use; the char check still covers Dvorak.
- [minor] [GhosttySurfaceView+Input.swift:42] Ctrl-Shift-C cleared active (shift
  makes charactersIgnoringModifiers "C", lowercased to "c"); exclude .shift so only
  a bare Ctrl-C qualifies.
- [test-gap] the classifier's false branches (ordinary key, Cmd-C, Ctrl-Shift-C,
  Ctrl-D) were untested — the e2e would pass even if it returned true for all keys.
  Extract the pure classification into agtermCore (InterruptKeystroke over keyCode +
  a host-free KeyModifiers option-set + base character) and unit-test the full truth
  table; isInterruptKe... (continued)

19 of 19 new or added lines in 2 files covered. (100.0%)

4404 of 4469 relevant lines covered (98.55%)

6727556.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29120682989.1 10 Jul 2026 08:16PM UTC 60
98.55
GitHub Action Run
Source Files on build 29120682989
  • Tree
  • List 60
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29120682989
  • aa0c2b8a on github
  • Prev Build on master (#29074469860)
  • Next Build on master (#29146888876)
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