1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-15 22:26:40 +02:00

clear commit panel after confirming

This commit is contained in:
Jesse Duffield 2018-08-11 15:24:24 +10:00
parent 5c8f0d4c9d
commit 753ca75e55

View File

@ -14,6 +14,8 @@ func handleCommitConfirm(g *gocui.Gui, v *gocui.View) error {
return createErrorPanel(g, output)
}
refreshFiles(g)
v.Clear()
v.SetCursor(0, 0)
g.SetViewOnBottom("commitMessage")
switchFocus(g, v, getFilesView(g))
return refreshCommits(g)