1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 01:34:26 +02:00

Bump gocui

This commit is contained in:
Jesse Duffield
2023-07-02 15:46:06 +10:00
parent 7cb54f4fee
commit 4df353d006
28 changed files with 426 additions and 37 deletions

View File

@ -207,6 +207,10 @@ func (v *View) gotoPreviousMatch() error {
return v.SelectSearchResult(v.searcher.currentSearchIndex)
}
func (v *View) SelectCurrentSearchResult() error {
return v.SelectSearchResult(v.searcher.currentSearchIndex)
}
func (v *View) SelectSearchResult(index int) error {
itemCount := len(v.searcher.searchPositions)
if itemCount == 0 {