Mouse isn't working in CLI text editors #12391

Closed
opened 2026-01-31 03:14:22 +00:00 by claunia · 6 comments
Owner

Originally created by @EmiSan1998 on GitHub (Feb 3, 2021).

Environment

Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.5.10271.0 and 1.6.10272.0

Any other software? No

Steps to reproduce

  1. Run a CLI text editor from Powershell or CMD on Windows terminal
  2. Insert some line of text
  3. Try to scroll or highlight text

Expected behavior

The text scrolls or is properly highlighted

Actual behavior

The text doesn't scroll or isn't properly highlighted (the line numbers are highlighted with the texts)

Here there's a comparation between Windows Terminal (where mouse doesn't work) and the Windows built-in terminal emulator (which behaves as I expect)
image

Originally created by @EmiSan1998 on GitHub (Feb 3, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 10.0.19041.0 Windows Terminal version (if applicable): 1.5.10271.0 and 1.6.10272.0 Any other software? No ``` # Steps to reproduce 1. Run a CLI text editor from Powershell or CMD on Windows terminal 2. Insert some line of text 3. Try to scroll or highlight text # Expected behavior The text scrolls or is properly highlighted # Actual behavior The text doesn't scroll or isn't properly highlighted (the line numbers are highlighted with the texts) <!-- What's actually happening? --> Here there's a comparation between Windows Terminal (where mouse doesn't work) and the Windows built-in terminal emulator (which behaves as I expect) ![image](https://user-images.githubusercontent.com/23716404/106762212-e79c1d80-6635-11eb-98eb-803f0e665e5f.png)
claunia added the Resolution-Duplicate label 2026-01-31 03:14:22 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 3, 2021):

Run a CLI text editor

Which text editor would that be specifically?

@zadjii-msft commented on GitHub (Feb 3, 2021): > Run a CLI text editor Which text editor would that be specifically?
Author
Owner

@EmiSan1998 commented on GitHub (Feb 3, 2021):

Run a CLI text editor

Which text editor would that be specifically?

I tried Vim with
set mouse=a
and “micro” (the pictured editor)
https://github.com/zyedidia/micro

@EmiSan1998 commented on GitHub (Feb 3, 2021): > > Run a CLI text editor > > Which text editor would that be specifically? I tried Vim with `set mouse=a` and “micro” (the pictured editor) https://github.com/zyedidia/micro
Author
Owner

@DHowett commented on GitHub (Feb 3, 2021):

Okay, are you using them under WSL? Windows native? through SSH? Through WSL + SSH?

@DHowett commented on GitHub (Feb 3, 2021): Okay, are you using them under WSL? Windows native? through SSH? Through WSL + SSH?
Author
Owner

@EmiSan1998 commented on GitHub (Feb 4, 2021):

Okay, are you using them under WSL? Windows native? through SSH? Through WSL + SSH?

I'm using them under Windows native (PowerShell 7)

@EmiSan1998 commented on GitHub (Feb 4, 2021): > > > Okay, are you using them under WSL? Windows native? through SSH? Through WSL + SSH? I'm using them under Windows native (PowerShell 7)
Author
Owner

@zadjii-msft commented on GitHub (Feb 4, 2021):

Thanks for clarifying! What you're seeing boils down to the terminal not supporting win32-style mouse input quite yet. That's being tracked over in #376. Thanks!

/dup #376

@zadjii-msft commented on GitHub (Feb 4, 2021): Thanks for clarifying! What you're seeing boils down to the terminal not supporting win32-style mouse input quite yet. That's being tracked over in #376. Thanks! /dup #376
Author
Owner

@ghost commented on GitHub (Feb 4, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Feb 4, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12391