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

umputun / revdiff / 29961688729
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: feat/relay-overlay-stderr
DEFAULT BRANCH: master
Ran 22 Jul 2026 10:07PM 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

22 Jul 2026 10:00PM UTC coverage: 89.99% (+0.01%) from 89.98%
29961688729

Pull #286

github

kylesnowschwartz
fix(themes): resolve --theme auto from tmux client list instead of current client

The plugin launcher's tmux backend runs revdiff in a detached session behind a display-popup attach. Once the popup client attaches, tmux resolves it as the current client for display-message, and a nested tmux client never learns a theme from the outer tmux — #{client_theme} expands empty, the masked OSC 11 fallback goes unanswered in that topology, and --theme auto lands on the dark default. Whether detection ran before or after the popup attach was a millisecond race, so auto themes flipped between correct and dark at random (and a lost race also stalled startup on termenv's 5s OSC timeout when stdout was a tty).

Detection now asks tmux for every server client's theme via list-clients and picks the most recently active client that reports one, so the outer terminal's client wins regardless of which client tmux considers current. Old tmux (< 3.5) and themeless terminals still fall through to the OSC 11 and COLORFGBG paths unchanged.
Pull Request #286: fix(themes): resolve --theme auto from tmux client list instead of current client

13 of 16 new or added lines in 1 file covered. (81.25%)

1 existing line in 1 file now uncovered.

11013 of 12238 relevant lines covered (89.99%)

2930.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
71.93
8.29% app/termbg.go

Coverage Regressions

Lines Coverage ∆ File
1
71.93
8.29% app/termbg.go
Jobs
ID Job ID Ran Files Coverage
1 29961688729.1 22 Jul 2026 10:07PM UTC 76
89.99
GitHub Action Run
Source Files on build 29961688729
  • Tree
  • List 76
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #286
  • PR Base - master (#29710121045)
  • Delete
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