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

umputun / agterm / 31162556244
98%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2026 08:42AM 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 08:38AM UTC coverage: 97.873% (+0.001%) from 97.872%
31162556244

push

github

web-flow
feat(sidebar): copy a row's name from the context menu (#385)

* feat(sidebar): copy a row's name from the context menu

Reading a name off the sidebar is the other half of setting one, and there was
no way to do it. Renaming a session to something you want to reuse elsewhere —
a branch name, a worktree directory, a host — meant retyping it, and the
sidebar label is the one string in the app you cannot select with the mouse.

Copy Name sits directly under Rename on both row kinds, since the two act on
the same thing: the row's identity. With several sessions selected it becomes
Copy Names and copies one per line, matching how Flag, Close and Move already
treat a multi-selection.

It copies displayName, so it agrees with what the row shows: the manual rename
if there is one, else the pane's terminal title, else the cwd basename. Copying
customName instead would yield an empty string for every session that was never
renamed, which is most of them.

A keymap custom command cannot cover this. {AGT_SESSION_NAME} and
{AGT_WORKSPACE_NAME} resolve the ACTIVE row, so they answer a different
question than 'the row I just right-clicked' — and for the workspace half there
is no GUI surface at all today.

Names resolve through the sidebar's window-local store, like Close, Flag and
Duplicate, so a background window copies its own row rather than the frontmost
window's. A row closed between the right-click and the menu choice copies
nothing and leaves the pasteboard untouched, rather than clearing whatever the
user had on it.

No control command. The 'adding a user-facing action' rule keeps the toolbar,
menu bar and socket from drifting, and this is on none of the first two; the
data is already fully exposed, since tree reports every session's and
workspace's name. Writing the system pasteboard would also contradict a
decision the API has already made: session copy returns the selection and
explicitly does not touch the clipboard, while session paste reads it. A scr... (continued)

3 of 3 new or added lines in 1 file covered. (100.0%)

7453 of 7615 relevant lines covered (97.87%)

4512351.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31162556244.1 07 Aug 2026 08:42AM UTC 91
97.87
GitHub Action Run
Source Files on build 31162556244
  • Tree
  • List 91
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31162556244
  • 89b13123 on github
  • Prev Build on master (#31151589951)
  • Next Build on master (#31163663908)
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