Skip to content

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

Open
Chever-John wants to merge 2 commits intomainfrom
fix/alacritty-tmux-mouse-support
Open

fix(alacritty): resolve mouse click issues in tmux sessions#121
Chever-John wants to merge 2 commits intomainfrom
fix/alacritty-tmux-mouse-support

Conversation

@Chever-John
Copy link
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

Chever-John and others added 2 commits February 4, 2026 11:13
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>
Co-authored-by: Cursor <cursoragent@cursor.com>
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