lazygit
lazygit copied to clipboard
Unstaged changes window jumped into a previously edited file
Describe the bug When I want to stage changes inside the file, the focus jumped to the previous edited file
To Reproduce Steps to reproduce the behavior:
- Go to
- Click
<enter>on the first file -> Unstaged changes focused with Staged window near - Press 2 (goto Files section)
- Click
on the second file -> Unstaged changes focused without Staged window - Press
<j> or <k>for move inside file - See that file was jumped from second file to the first one
Expected behavior
On
Screenshots
https://user-images.githubusercontent.com/9537753/178950812-b34ba3f3-9786-4a29-a984-6b98097aeeca.mp4
Desktop:
- OS: MacOs BigSur 11.6.7
- Lazygit Version 0.34 arch=amd64
Could you try building the current master to see if it was fixed after v0.34?
@mark2185, I've run this on the latest master, but still, have this issue. commands that have been run from Readme:
git clone https://github.com/jesseduffield/lazygit.git
cd lazygit
go install
go run main.go
Alright, someone will take a look. Thanks for reporting!