1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

small things

WIP
This commit is contained in:
Jesse Duffield
2020-08-16 18:17:16 +10:00
parent ed4574bda9
commit fd8a455aff
3 changed files with 58 additions and 81 deletions

View File

@ -332,7 +332,7 @@ func (gui *Gui) handleEscapeLineByLinePanel() {
func (gui *Gui) handleOpenFileAtLine() error {
// again, would be good to use inheritance here (or maybe even composition)
var filename string
switch gui.currentContext().GetKey() {
switch gui.State.MainContext {
case "patch-building":
filename = gui.getSelectedCommitFileName()
case "staging":