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:
parent
5c8f0d4c9d
commit
753ca75e55
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user