diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-05 14:42:56 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 482bdc4f1ea5448c5e98697ae66221e544ea40dd (patch) | |
tree | 7df478f9870e3dddc85f77d7b77439bed16e3c7b /pkg/gui/controllers/base_controller.go | |
parent | 8e3484d8e98faf12f8395eaf5f9e8381f77a8e52 (diff) |
more refactoring
Diffstat (limited to 'pkg/gui/controllers/base_controller.go')
-rw-r--r-- | pkg/gui/controllers/base_controller.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/gui/controllers/base_controller.go b/pkg/gui/controllers/base_controller.go new file mode 100644 index 000000000..e510c1a9f --- /dev/null +++ b/pkg/gui/controllers/base_controller.go @@ -0,0 +1,16 @@ +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 +} |