Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse becomes unusable after quitting lazygit #1764

Closed
tmatz opened this issue Feb 9, 2022 · 0 comments · Fixed by #1806
Closed

Mouse becomes unusable after quitting lazygit #1764

tmatz opened this issue Feb 9, 2022 · 0 comments · Fixed by #1806
Labels
bug Something isn't working

Comments

@tmatz
Copy link
Contributor

tmatz commented Feb 9, 2022

Describe the bug
After quitting lazygit, the mouse became unusable the next time I started vim.
The cursor does not move when I click the mouse.

This seems to be due to #1713 that I submitted earlier.
It seems that, terminal's mouse related state is not restored correctly.

I submitted an MR to gdamore/tcell here gdamore/tcell#512.

To Reproduce
Steps to reproduce the behavior:

  1. start and quit lazygit
  2. open some file with vim
  3. enable mouse mode by set mouse=a
  4. clicking the mouse always moves the cursor to the beginning of the center line.

Expected behavior
The cursor moves to the position where you click the mouse.

Desktop (please complete the following information):

  • linux VM on Chomebook and Windows
  • Lazygit Version 0.32.2
  • f401164
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant