1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Make '>' first jump to the beginning of the branch, and only then to the first commit

This commit is contained in:
Stefan Haller
2025-05-08 15:37:35 +02:00
parent 1a880f916c
commit 636b94cf22
5 changed files with 43 additions and 1 deletions

View File

@ -149,3 +149,7 @@ func (self *ListContextTrait) TotalContentHeight() int {
}
return result
}
func (self *ListContextTrait) IndexForGotoBottom() int {
return self.list.Len() - 1
}