mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
WIP
This commit is contained in:
parent
fd8a455aff
commit
88d329c52a
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue