Mouse Input only partially working in WSL #17551

Open
opened 2026-01-31 05:45:44 +00:00 by claunia · 0 comments
Owner

Originally created by @RoiEXLab on GitHub (May 25, 2022).

Windows Terminal version

1.12.10982.0

Windows build number

10.0.19044.1645

Other Software

ncurses (inside WSL)

Steps to reproduce

I originally reported this to https://github.com/microsoft/WSL/issues/8439 where I was told I should actually report it here.

  1. Clone and build the example project provided by imtui. Any other application that uses ncurses should work too but this project is easy to work with.
  2. Try to drag one of the windows to the far right of the terminal or hover over the right side of the terminal with the mouse cursor

Expected Behavior

I would expect the mouse to continue working regardless of the X or Y coordinate of the terminal

Actual Behavior

You will notice that at a certain coordinate (94 in the X or Y direction is the last working cell for me) the drag suddenly stops even though the mouse travels further to the right.
The same can be observed when using the default wsl window (I assume that's conhost.exe?), without Windows Terminal.

This issue does not happen when using the internal terminal provided by VS Code (in WSL mode, outside of WSL it is even worse than outside of VS Code), nor does it happen when using a Linux terminal within a regular VM

Originally created by @RoiEXLab on GitHub (May 25, 2022). ### Windows Terminal version 1.12.10982.0 ### Windows build number 10.0.19044.1645 ### Other Software ncurses (inside WSL) ### Steps to reproduce I originally reported this to https://github.com/microsoft/WSL/issues/8439 where I was told I should actually report it here. 1. Clone and build the example project provided by [imtui](https://github.com/ggerganov/imtui). Any other application that uses ncurses should work too but this project is easy to work with. 2. Try to drag one of the windows to the far right of the terminal or hover over the right side of the terminal with the mouse cursor ### Expected Behavior I would expect the mouse to continue working regardless of the X or Y coordinate of the terminal ### Actual Behavior You will notice that at a certain coordinate (94 in the X or Y direction is the last working cell for me) the drag suddenly stops even though the mouse travels further to the right. The same can be observed when using the default wsl window (I assume that's `conhost.exe`?), without Windows Terminal. This issue does not happen when using the internal terminal provided by VS Code (in WSL mode, outside of WSL it is even worse than outside of VS Code), nor does it happen when using a Linux terminal within a regular VM
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:45:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17551