diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-26 15:52:35 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-27 18:16:16 +1100 |
commit | 0dfb7c08b75659e161ad8fe69ea20aff7b259703 (patch) | |
tree | 2d43751610844e49f6b642e91eedb2f0d72a0803 /pkg/gui/gui.go | |
parent | f0a4dcfdc39dfb881522959c13b97744a9d12fea (diff) |
remove controllers struct
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 17 |
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 |