Skip to content

fix(alacritty): resolve mouse click issues in tmux sessions - #121

Closed
Chever-John wants to merge 1 commit into
mainfrom
fix/alacritty-tmux-mouse-support
Closed

fix(alacritty): resolve mouse click issues in tmux sessions#121
Chever-John wants to merge 1 commit into
mainfrom
fix/alacritty-tmux-mouse-support

Conversation

@Chever-John

Copy link
Copy Markdown
Owner

Summary

  • Fix mouse functionality in Alacritty when used with tmux sessions
  • Resolve issue where mouse clicks produced escape sequences instead of proper interactions
  • Update terminal configuration for better compatibility between Alacritty and tmux
  • Add diagnostic scripts for troubleshooting mouse functionality

Test plan

  • Mouse clicks now position cursor correctly in tmux
  • Mouse drag selection works properly
  • Right-click paste functionality enabled
  • Mouse wheel scrolling works in copy mode
  • Added test scripts for future troubleshooting
  • Verify functionality across different terminal scenarios

Fix mouse functionality in Alacritty when used with tmux by:
- Update TERM from tmux-256color to xterm-256color for better compatibility
- Add mouse bindings for middle-click and right-click paste actions
- Configure proper terminal overrides in tmux for mouse support
- Add mouse wheel scrolling bindings for copy mode

This resolves the issue where mouse clicks would produce escape sequences
instead of proper mouse interactions.

Includes diagnostic and test scripts for troubleshooting mouse functionality.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Chever-John
Chever-John force-pushed the fix/alacritty-tmux-mouse-support branch from 5612d0f to e70b7b8 Compare March 11, 2026 16:01
@Chever-John

Copy link
Copy Markdown
Owner Author

Closing this broad implementation. The valid TERM correction will be replaced by a minimal fix based on the latest main branch without the unrelated mouse bindings, terminal downgrade, overrides, or diagnostic scripts.

@Chever-John
Chever-John deleted the fix/alacritty-tmux-mouse-support branch August 28, 2026 09:18
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.

1 participant