Skip to content

Fix #366: prevent terminal-features spam on repeated session starts#367

Merged
asheshgoplani merged 1 commit intomainfrom
fix/366-terminal-features-spam
Mar 18, 2026
Merged

Fix #366: prevent terminal-features spam on repeated session starts#367
asheshgoplani merged 1 commit intomainfrom
fix/366-terminal-features-spam

Conversation

@asheshgoplani
Copy link
Copy Markdown
Owner

Summary

  • Added ensureTerminalFeatures() helper that checks existing tmux terminal-features before appending, preventing duplicate entries that balloon to 260+ items
  • Fixed both Start() and EnableMouseMode() call sites in internal/tmux/tmux.go

Test plan

  • make ci passes (lint + test + build)
  • Start multiple sessions and verify tmux show -sv terminal-features stays clean

Fixes #366

Check existing terminal-features before appending to avoid duplicates
that balloon the list to 260+ entries over multiple session starts.

Committed by Ashesh Goplani
@asheshgoplani asheshgoplani marked this pull request as ready for review March 18, 2026 14:59
@asheshgoplani asheshgoplani merged commit 9565abf into main Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

terminal-features spam: *:hyperlinks:extkeys appended on every session start

1 participant