diff --git a/pkg/gui/global_handlers.go b/pkg/gui/global_handlers.go index 8282cea2d..ef98b98e6 100644 --- a/pkg/gui/global_handlers.go +++ b/pkg/gui/global_handlers.go @@ -113,6 +113,9 @@ func (gui *Gui) handleMouseDownMain(g *gocui.Gui, v *gocui.View) error { switch g.CurrentView().Name() { case "files": + // set filename, set primary/secondary selected, set line number, then switch context + // I'll need to know it was changed though. + // Could I pass something along to the context change? return gui.enterFile(false, v.SelectedLineIdx()) case "commitFiles": return gui.enterCommitFile(v.SelectedLineIdx())