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

safely unstage lines

This commit is contained in:
Jesse Duffield
2020-01-12 15:02:00 +11:00
parent deaa2bcb15
commit b64953ebdb
4 changed files with 24 additions and 3 deletions

View File

@@ -32,6 +32,8 @@ func (gui *Gui) selectFile(alreadySelected bool) error {
if err != gui.Errors.ErrNoFiles {
return err
}
gui.State.SplitMainPanel = false
gui.getMainView().Title = ""
return gui.newStringTask("main", gui.Tr.SLocalize("NoChangedFiles"))
}