Bug
Agent Deck v0.26.4 appends *:hyperlinks:extkeys to tmux terminal-features on every session start without checking if it's already set. After running several sessions, the list balloons to 260+ entries:
terminal-features[0] xterm*:clipboard:ccolour:cstyle:focus:title
terminal-features[1] screen*:title
terminal-features[2] rxvt*:ignorefkeys
terminal-features[3] *:hyperlinks
terminal-features[4] *:hyperlinks
...
terminal-features[243] *:hyperlinks
terminal-features[244] *:hyperlinks:extkeys
terminal-features[245] *:hyperlinks:extkeys
...
terminal-features[263] *:hyperlinks:extkeys
Expected
Should check if the feature is already present before appending, e.g.:
tmux display -p '#{terminal-features}' | grep -q extkeys || tmux set -as terminal-features ",*:extkeys"
Environment
- Agent Deck v0.26.4
- tmux 3.5a
- macOS (Apple Silicon)
- iTerm2