Mouse Support not working for lazygit #10265

Open
opened 2026-01-31 02:16:49 +00:00 by claunia · 0 comments
Owner

Originally created by @ueberBrot on GitHub (Aug 24, 2020).

Environment

Windows build number: Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0
Windows Terminal version (if applicable): 1.1.2233.0

Any other software?
lazygit

Steps to reproduce

I listed the issue first in the lazygit repo (jesseduffield/lazygit/issues/759) but the author (@jesseduffield) let me know that it seems to be a problem of the Windows Terminal. So I'll post it here:

When trying to use the basic mouse support from lazygit with Cmd or Powershell in Windows Terminal it doesn't work. When using Cmd and Powershell as a stand-alone application the mouse support for lazygit works just fine.

  1. Install lazygit
  2. Add to your Path
  3. With Powershell inside Windows Terminal cd into a repository and type lazygit
  4. Try using the mouse to navigate the commits / branches / etc.

Expected behavior

You should be able to use the mouse support the same way inside the Windows Terminal with Powershell or Cmd as with the stand-alone applications.

Expected using Powershell:
Expected

Actual behavior

When using Powershell inside the Windows Terminal you can't use the mouse at all for navigation. When I try to click on commits or branches, I can't do this, because the behavior of highlighting words is always executed.

Actual in Windows Terminal using Powershell:
Actual


I don't know if it is a specific issue with lazygit or if other similar applications are also affected. I personally don't know of any other program that uses the mouse support in the same way.

Originally created by @ueberBrot on GitHub (Aug 24, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 Windows build number: Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Windows Terminal version (if applicable): 1.1.2233.0 Any other software? [lazygit](https://github.com/jesseduffield/lazygit/) # Steps to reproduce <!-- A description of how to trigger this bug. --> I listed the issue first in the [lazygit repo (jesseduffield/lazygit/issues/759)](https://github.com/jesseduffield/lazygit/issues/759) but the author (@jesseduffield) let me know that it seems to be a problem of the Windows Terminal. So I'll post it here: When trying to use the [basic mouse support](https://github.com/jesseduffield/lazygit/pull/529) from lazygit with Cmd or Powershell in Windows Terminal it doesn't work. When using Cmd and Powershell as a stand-alone application the mouse support for lazygit works just fine. 1. Install [lazygit](https://github.com/jesseduffield/lazygit/) 2. Add to your Path 2. With Powershell inside Windows Terminal cd into a repository and type `lazygit` 3. Try using the mouse to navigate the commits / branches / etc. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> You should be able to use the mouse support the same way inside the Windows Terminal with Powershell or Cmd as with the stand-alone applications. Expected using Powershell: ![Expected](https://user-images.githubusercontent.com/32489486/77770997-669fed00-7046-11ea-8420-6f368a54bd2d.gif) # Actual behavior <!-- What's actually happening? --> When using Powershell inside the Windows Terminal you can't use the mouse at all for navigation. When I try to click on commits or branches, I can't do this, because the behavior of highlighting words is always executed. Actual in Windows Terminal using Powershell: ![Actual](https://user-images.githubusercontent.com/32489486/77771129-964ef500-7046-11ea-93a7-331efd72d516.gif) --- I don't know if it is a specific issue with lazygit or if other similar applications are also affected. I personally don't know of any other program that uses the mouse support in the same way.
claunia added the Resolution-Duplicate label 2026-01-31 02:16:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10265