mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
Only reset origin in main view when handling the selection of a new file
This commit is contained in:
parent
695b092c41
commit
3a607061a2
3 changed files with 34 additions and 26 deletions
|
@ -462,7 +462,7 @@ func (gui *Gui) updateLoader(g *gocui.Gui) error {
|
|||
content := gui.trimmedContent(view)
|
||||
if strings.Contains(content, "...") {
|
||||
staticContent := strings.Split(content, "...")[0] + "..."
|
||||
if err := gui.synchronousRenderString(g, "confirmation", staticContent+" "+utils.Loader()); err != nil {
|
||||
if err := gui.setViewContent(g, view, staticContent+" "+utils.Loader()); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue