2022-02-05 05:42:56 +02:00
|
|
|
package controllers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/jesseduffield/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
|
|
|
|
}
|
2022-02-27 02:42:22 +02:00
|
|
|
|
|
|
|
func (self *baseController) GetOnClick() func() error {
|
|
|
|
return nil
|
|
|
|
}
|
2022-12-30 14:24:24 +02:00
|
|
|
|
|
|
|
func (self *baseController) GetOnRenderToMain() func() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (self *baseController) GetOnFocus() func(types.OnFocusOpts) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (self *baseController) GetOnFocusLost() func(types.OnFocusLostOpts) error {
|
|
|
|
return nil
|
|
|
|
}
|