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

umputun / agterm / 30077812177
98%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2026 08:10AM UTC
Jobs 1
Files 76
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

24 Jul 2026 08:07AM UTC coverage: 97.816% (+0.003%) from 97.813%
30077812177

push

github

web-flow
feat(sidebar): show sidebar only in the active window (#285)

opt-in Interface setting: with multiple windows open, only the frontmost window shows its sidebar and every other collapses. Sidebar visibility follows window focus, so switching windows moves the sidebar with focus; switching to another app leaves every sidebar untouched. Off by default.

**Behavior**
- absolute rule, no per-window memory: a manual ⌃⌘S hide on the active window is transient and re-shows on refocus
- fires only when an agterm window becomes frontmost (never on resign), so app-switching doesn't touch any sidebar
- turning it on applies immediately; turning it off leaves background windows collapsed until reopened

**Implementation**
- `AppSettings.autoHideSidebarInactiveWindows` (nil = off), mirrored into `GhosttyApp` (the non-observable chrome-mirror pattern the other toggles use)
- host-free driver `WindowLibrary.applyInactiveWindowSidebarHiding()` sets the active window's sidebar visible and the rest hidden
- driven from `WindowAccessor.reportFrontmost` on every window activation, and once when the toggle flips on, so new-window and launch reconcile too
- companion fix: `acceptsFirstMouse` returns false while the setting is on, so the click that activates an inactive window doesn't press the terminal button and turn the mid-gesture sidebar-resize into a phantom selection
- lives under Settings ▸ Interface ▸ Multiple Windows

GUI-only, keep-in-sync exempt like the other settings toggles (the sidebar capability already has full control coverage via `sidebar` + `sidebarVisible`).

verified: host-free round-trip + driver tests (`swift test`, 1737 pass), app build + swiftlint strict clean, and by hand in a dev instance.

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

5912 of 6044 relevant lines covered (97.82%)

4974485.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30077812177.1 24 Jul 2026 08:10AM UTC 76
97.82
GitHub Action Run
Source Files on build 30077812177
  • Tree
  • List 76
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30077812177
  • 5fc8009f on github
  • Prev Build on master (#30027922635)
  • Next Build on master (#30113761782)
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