mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-06-07 19:56:50 +02:00
196e0a3c17
I copied all files except dot files (.github and .gitignore), the _examples folder, and go.mod/go.sum. At some point we may want to copy the files back to the gocui repo when other clients (e.g. lazydocker) want to use the newer versions of them.
45 lines
994 B
Go
45 lines
994 B
Go
package controllers
|
|
|
|
import (
|
|
"github.com/jesseduffield/lazygit/pkg/gocui"
|
|
"github.com/jesseduffield/lazygit/pkg/gui/types"
|
|
)
|
|
|
|
type baseController struct{}
|
|
|
|
func (self *baseController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetMouseKeybindings(opts types.KeybindingsOpts) []*gocui.ViewMouseBinding {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnDoubleClick() func() error {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnClickFocusedMainView() func(mainViewName string, clickedLineIdx int) error {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnClick() func(opts gocui.ViewMouseBindingOpts) error {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnRenderToMain() func() {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnFocus() func(types.OnFocusOpts) {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnFocusLost() func(types.OnFocusLostOpts) {
|
|
return nil
|
|
}
|
|
|
|
func (self *baseController) GetOnQuit() func() {
|
|
return nil
|
|
}
|