jesseduffield / jesseduffield/lazygit

Scrolling through git commit log kills other open applications on Windows

Open
#4,006 4 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 am scrolling through commit log in a large repo (like linux, vscode or zed etc), it causes one of the other apps to be killed.

**To Reproduce**
Steps to reproduce the behavior:

1. Open Windows Terminal and open lazygit in a large repo (>10000 commits)
2. Go to Commits pane
3. Press Down to continue scrolling down
4. See error

**Expected behavior**
It should not affect other applications on the system.

**Screenshots**

https://github.com/user-attachments/assets/4f430114-9e15-4db8-b86a-14b8e45671ee

**Version info:**
commit=611fabde11d24d9acc71ee26077b9a1101f59f27, build date=2024-09-18T10:56:10Z, build source=binaryRelease, version=0.44.1, os=windows, arch=amd64, git version=2.47.0.windows.1
git version 2.47.0.windows.1
Windows 11 24H2

**Hardware**
AMD Ryzen 5800X, 16GB RAM, Nvidia RTX 3060

**Additional context**
It's not only Firefox that's get killed. It's usually the last used window. Sometimes even explorer.exe was restarted. Firefox or Chrome don't register it as crash. Neither does Event Manager log anything about them or explorer.exe being killed.

It never happens when performing similar operation in `tig`, `gitu` or `git --log`. **Also I can only reproduce it with the default Windows Terminal.** It's fine in Alacritty or mintty.

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.