-
Notifications
You must be signed in to change notification settings - Fork 243
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
[BUG] Button gets pressed on mouse hover with crossterm #767
Comments
Hi, and thanks for the report! I'm unable to reproduce the issue so far, running on a M1 pro laptop on Sonoma 14.2.1. |
Hi! 0.25.0 |
I still cannot reproduce it, either with the default terminal app, or with alacritty. Does the issue still exist when running from this git main branch? (It should use crossterm 0.27.0). Note also that cursive expects a utf-8 locale. You could try setting for example |
Huh, I ran the app from Terminal, and it worked as expected. The problem only happens if I run the app from the terminal in my IDE (CLion). |
Describe the bug
Hovering over a button presses it when using the crossterm backend. Termion has the correct behavior.
To Reproduce
cursive = { version = "0.20.0", default-features = false, features = ["crossterm-backend"] }
Use the example code:
Expected behavior
Nothing happens unless I left-click.
Environment
The text was updated successfully, but these errors were encountered: