Terminus: Mouse not working on Windows

Created on 7 Feb 2018  路  12Comments  路  Source: Eugeny/terminus

I'm runing vim in Windows 10 using the WSL Ubuntu installation.

In Terminus, set mouse=a does not seem to enable mouse controls. However, in the Windows cmd console it works (obviously after typing bash).

Windows Confirmed WSL Bug

Most helpful comment

Thanks @wolf99. Only stale because no one has worked on it.

I also just tried it again yesterday and was planning to raise the issue.

Scrolling the terminal window also does not work.

All 12 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks unless you comment.
Thank you for your contributions.

Not stale, am seeing this behaviour currently in alpha 54

Thanks @wolf99. Only stale because no one has worked on it.

I also just tried it again yesterday and was planning to raise the issue.

Scrolling the terminal window also does not work.

@Eugeny -- any hope for this?

At this moment, this seems to be a winpty issue - it's not forwarding mouse events to the actual windows console underneath. This should be fixed once ConPTY support lands in winpty: https://github.com/Microsoft/node-pty/issues/216

It looks like ConPTY support is now in winpty 0.80 and 0.81:
https://github.com/Microsoft/node-pty/commit/cce934f48eafa4e02033f76c909589723ccb9e29

Great! Any idea when the connection will happen in terminus?

@bewing @abalter looks like that still isn't enough as ConPTY itself swallows mouse events before they can get to node-pty: https://github.com/Microsoft/console/issues/376

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks unless you comment.
Thank you for your contributions.

Any updates on this? Mouse clicks and scrolls still seem to be unregistered on WSL (Ubuntu 18.04).

Still no mouse support in ConPTY: https://github.com/microsoft/terminal/issues/376

Windows Terminal got mouse support recently, but they rely on private conhost.exe APIs instead of ConPTY.

I'm using Windows 10 Insider dev channel. Strangely mouse support worked like a charm on build 20190 (with conpty enabled) but stopped working when I updated to build 20197 today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

helloxz picture helloxz  路  17Comments

ChipwizBen picture ChipwizBen  路  20Comments

Calinou picture Calinou  路  15Comments

csrgxtu picture csrgxtu  路  31Comments

drsm79 picture drsm79  路  14Comments