mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-01 00:54:58 +02:00
clear commit panel after confirming
This commit is contained in:
@ -14,6 +14,8 @@ func handleCommitConfirm(g *gocui.Gui, v *gocui.View) error {
|
|||||||
return createErrorPanel(g, output)
|
return createErrorPanel(g, output)
|
||||||
}
|
}
|
||||||
refreshFiles(g)
|
refreshFiles(g)
|
||||||
|
v.Clear()
|
||||||
|
v.SetCursor(0, 0)
|
||||||
g.SetViewOnBottom("commitMessage")
|
g.SetViewOnBottom("commitMessage")
|
||||||
switchFocus(g, v, getFilesView(g))
|
switchFocus(g, v, getFilesView(g))
|
||||||
return refreshCommits(g)
|
return refreshCommits(g)
|
||||||
|
Reference in New Issue
Block a user