Skip to content

[Windows] Mouse events in wezterm or alacritty not captured #3845

Answered by axdank
axdank asked this question in Show and tell
Discussion options

You must be logged in to vote

In many cases the mouse is necessary in helix.

For those who have this problem, it is probably because conhost.exe in windows is outdated.
I have experienced the problem with crossterm which did not detect only the mouse in emulators like wezterm and alacritty.
In windows terminal the mouse works correctly, because it makes internal use of OpenConsole.exe, which is based on the same code as conhost.exe, but more updated.

Therefore a quick solution is to clone the windows terminal repository, compile, and look in the bin folder, the OpenConsole.exe binary, then in the system32 folder, change the permissions of conhost.exe, to our user name with full control, rename it to conhost-old.exe, a…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by axdank
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants