Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(input): windows: mouse mode flag #386

Merged
merged 1 commit into from
Feb 25, 2025
Merged

fix(input): windows: mouse mode flag #386

merged 1 commit into from
Feb 25, 2025

Conversation

aymanbagabas
Copy link
Member

We need to enable mouse mode on Windows on demand. This is done by adding a new flag to the input driver and passing it to the cancelreader to enable mouse mode.

Related: charmbracelet/bubbletea#1313

aymanbagabas added a commit to charmbracelet/bubbletea that referenced this pull request Feb 24, 2025
This fixes an issue where mouse mode is always enabled on Windows. With
this patch, we enable mouse events only it is requested.

Needs: charmbracelet/x#386
Related: #1313
We need to enable mouse mode on Windows on demand. This is done by
adding a new flag to the input driver and passing it to the cancelreader
to enable mouse mode.

Related: charmbracelet/bubbletea#1313
@aymanbagabas aymanbagabas merged commit 440f909 into main Feb 25, 2025
11 checks passed
@aymanbagabas aymanbagabas deleted the input/mouse-mode branch February 25, 2025 15:47
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.

3 participants