jesseduffield / jesseduffield/lazygit

Laggy behavior when staging sub modules

Open
#1,598 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
When I scroll down through the sub modules, there is a 1.2 second delay between key presses and the screen changing

**To Reproduce**
Open lazy git, press j. This delay is not present when navigating up (pressing k)

**Expected behavior**
The move should be near instant

**Screenshots**
This video demonstrates the problem, I am pressing the "j" key here down in rapid succession, however you can see that there is a marked delay between movements. When navigating back up however; you can see that it does respond as expected.

https://user-images.githubusercontent.com/55964540/143484098-6bd4a1ff-d37e-445f-8090-a1568596a539.mov

**System Information**
![image](https://user-images.githubusercontent.com/55964540/143490209-da3e25cf-88f0-478b-a06c-88b33c599473.png)

When running "lazygit --version" the output is as follows:

> commit=, build date=, build source=homebrew, version=0.31.4, os=darwin, arch=amd6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.