jesseduffield / jesseduffield/lazygit

LazyGit exits unpredictably while moving quickly through commits (on WSL only)

Open
#622 11 comments 1 reaction 0 assignees View on GitHub
bug compatibility gocui
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
When I move the cursor (up/down keys) through the commits (reflog) the app crashes. This only happens on WSL, not on my Mac (that works perfectly). Strangely the problem seems to happen less if I use the '-d' debug flag.

**To Reproduce**
Steps to reproduce the behavior:
1. Open `lazygit` in any repository directory in WSL
1. Use `left/right` arrows to move focus to the `commits` pane
1. Quickly use the `up/down` keyboard keys to shift focus. While I haven't been able to confirm this, it might be a race condition because some change sets are quite large.

**Expected behavior**
It should move focus without exiting.
I say "exit" because I get no logs in the console.. so it may not be a "crash" per se.

**Desktop (please complete the following information):**
- Windows 10 WSL (Microsoft Windows [Version 10.0.18363.592])
- Lazygit Version: commit=, build date=2020-01-10, build source=debian, version=0.13, os=linux, arch=amd64
- ConEmu 191012 [64] Startup Info

**Additional context**
It may be worth noting that I use "ConEmu" too, so it could be some strangely confluence of circumstances.

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.