summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index ba2d85a27..3e996e404 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -18,7 +18,6 @@ import (
"github.com/jesseduffield/lazygit/pkg/common"
"github.com/jesseduffield/lazygit/pkg/config"
"github.com/jesseduffield/lazygit/pkg/gui/context"
- "github.com/jesseduffield/lazygit/pkg/gui/controllers"
"github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers"
"github.com/jesseduffield/lazygit/pkg/gui/lbl"
"github.com/jesseduffield/lazygit/pkg/gui/mergeconflicts"
@@ -129,9 +128,6 @@ type Gui struct {
IsNewRepo bool
- // controllers define keybindings for a given context
- Controllers Controllers
-
// flag as to whether or not the diff view should ignore whitespace
IgnoreWhitespaceInDiffView bool
@@ -203,19 +199,6 @@ type GuiRepoState struct {
CurrentPopupOpts *types.CreatePopupPanelOpts
}
-type Controllers struct {
- Submodules *controllers.SubmodulesController
- Tags *controllers.TagsController
- LocalCommits *controllers.LocalCommitsController
- Files *controllers.FilesController
- Remotes *controllers.RemotesController
- Menu *controllers.MenuController
- Bisect *controllers.BisectController
- Undo *controllers.UndoController
- Sync *controllers.SyncController
- Global *controllers.GlobalController
-}
-
// for now the staging panel state, unlike the other panel states, is going to be
// non-mutative, so that we don't accidentally end up
// with mismatches of data. We might change this in the future