mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-10-23 17:48:30 +03:00
small things
WIP
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user