1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

do not jump cursor around when fixing merge conflicts

This commit is contained in:
Jesse Duffield
2021-04-02 01:31:23 +11:00
parent 216b5341ae
commit f7772f00c4
2 changed files with 20 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ func NewFileManager(files []*models.File, log *logrus.Entry, showTree bool) *Fil
}
}
func (m *FileManager) InTreeMode() bool {
return m.showTree
}
func (m *FileManager) ExpandToPath(path string) {
m.collapsedPaths.ExpandToPath(path)
}