Skip to content

[docs] Add troubleshooting for unauthorized messages in tmux (#61962)#61966

Open
giruuuuj wants to merge 1 commit into
anthropics:mainfrom
giruuuuj:fix/unauthorized-messages-tmux-61962
Open

[docs] Add troubleshooting for unauthorized messages in tmux (#61962)#61966
giruuuuj wants to merge 1 commit into
anthropics:mainfrom
giruuuuj:fix/unauthorized-messages-tmux-61962

Conversation

@giruuuuj
Copy link
Copy Markdown

Summary

Adds a troubleshooting entry for unauthorized phantom messages appearing in tmux sessions. Documents the likely root cause (tmux forwarding control sequences interpreted as keypresses) and workaround (disable focus-events or run outside tmux).

Closes #61962

Problem

In v2.1.150 on macOS with tmux, messages may appear to be sent on the user's behalf without their input. The TUI input reader interprets terminal control sequences (focus events, bracketed paste) forwarded by tmux as actual keypresses or text input.

Workaround

Run outside tmux to confirm the trigger. In tmux, disable focus events:
set -g focus-events off

Related

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.

[Bug] Unauthorized messages sent without user initiation

1 participant