summaryrefslogtreecommitdiffstats
path: root/pkg/gui/staging_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-09 11:34:10 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-09 12:23:13 +1100
commite47ad846c4b6100aaff7013a3516d329bde19194 (patch)
treeead7f3f0a911d7ee4f4f46640c2bf449a74e8e05 /pkg/gui/staging_panel.go
parent8f68ac21293f1a0476802974817d9f87875f8743 (diff)
big golangci-lint cleanup
Diffstat (limited to 'pkg/gui/staging_panel.go')
-rw-r--r--pkg/gui/staging_panel.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/gui/staging_panel.go b/pkg/gui/staging_panel.go
index 3de1d9b32..08a39cb90 100644
--- a/pkg/gui/staging_panel.go
+++ b/pkg/gui/staging_panel.go
@@ -159,11 +159,3 @@ func (gui *Gui) applySelection(reverse bool) error {
}
return nil
}
-
-func (gui *Gui) handleMouseDownSecondaryWhileStaging(g *gocui.Gui, v *gocui.View) error {
- state := gui.State.Panels.LineByLine
-
- state.SecondaryFocused = !state.SecondaryFocused
-
- return gui.refreshStagingPanel(false, -1)
-}