mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02: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() {
|
switch g.CurrentView().Name() {
|
||||||
case "files":
|
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())
|
return gui.enterFile(false, v.SelectedLineIdx())
|
||||||
case "commitFiles":
|
case "commitFiles":
|
||||||
return gui.enterCommitFile(v.SelectedLineIdx())
|
return gui.enterCommitFile(v.SelectedLineIdx())
|
||||||
|
Loading…
Reference in New Issue
Block a user