controller for viewing sub commits

This commit is contained in:
Jesse Duffield
2022-02-06 14:37:16 +11:00
parent cd31a762b9
commit b93b8cc00a
20 changed files with 210 additions and 86 deletions

View File

@@ -59,7 +59,6 @@ type IListContext interface {
OnSearchSelect(selectedLineIdx int) error
FocusLine()
GetPanelState() IListPanelState
GetViewTrait() IViewTrait
}

13
pkg/gui/types/modes.go Normal file
View File

@@ -0,0 +1,13 @@
package types
import (
"github.com/jesseduffield/lazygit/pkg/gui/modes/cherrypicking"
"github.com/jesseduffield/lazygit/pkg/gui/modes/diffing"
"github.com/jesseduffield/lazygit/pkg/gui/modes/filtering"
)
type Modes struct {
Filtering filtering.Filtering
CherryPicking *cherrypicking.CherryPicking
Diffing diffing.Diffing
}