# NousResearch/hermes-agent · Fix duplicate terminal selection shortcut firing per tab

## Open now

- Nothing open on GitHub.

A bug where Cmd/Ctrl+L triggers once for every mounted terminal tab instead of only the active one, causing duplicate @terminal:selection pills in the composer. The members address a fix scoping this shortcut to the active tab only.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #130048. Verify it addresses your case.
- **Recommended:** read PR #130048 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-130048`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #76116: \[Bug\]: Desktop — ⌘L "send selection to composer" fires once per mounted terminal tab, inserting N duplicate @terminal:selection pills

## Prior & competing PRs

- **#130048: fix(desktop): only the active terminal tab owns Cmd/Ctrl+L add-selection**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/right-sidebar/terminal/selection.test.ts`, `apps/desktop/src/app/right-sidebar/terminal/selection.ts`, `apps/desktop/src/app/right-sidebar/terminal/use-terminal-session.ts`
- **#76120: fix(desktop): only the active terminal tab owns Cmd/Ctrl+L add-selection**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `5518aa6701`

## Fix status

- Merged to main in PR #130048 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-01`.
- Subsystem: `apps/desktop`
