1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

fix issues with commit message panel losing focus

This commit is contained in:
Jesse Duffield
2018-09-19 20:36:40 +10:00
parent 7b90d2496b
commit b9708c9f88
4 changed files with 57 additions and 1 deletions

View File

@ -37,6 +37,10 @@ func (gui *Gui) handleCommitClose(g *gocui.Gui, v *gocui.View) error {
}
func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error {
if _, err := g.SetViewOnTop("commitMessage"); err != nil {
return err
}
message := gui.Tr.TemplateLocalize(
"CloseConfirm",
Teml{