From 00dca6f76d406081bb8219c44534d4ff1de417d1 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 26 May 2018 15:47:22 +1000 Subject: [PATCH] sending panel to back rather than deleting --- commit_panel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit_panel.go b/commit_panel.go index 17f54882a..5652cd59b 100644 --- a/commit_panel.go +++ b/commit_panel.go @@ -53,7 +53,7 @@ func closeCommitPrompt(g *gocui.Gui, v *gocui.View) error { filesView, _ := g.View("files") switchFocus(g, v, filesView) devLog("test prompt close") - if err := g.DeleteView("commit"); err != nil { + if _, err := g.SetViewOnBottom("commit"); err != nil { return err } if _, err := g.SetCurrentView(state.PreviousView); err != nil {