From 9a99748d3b1bb6c1b3e5905feb3acb17f2fea6d9 Mon Sep 17 00:00:00 2001 From: mjarkk Date: Sat, 27 Oct 2018 16:29:16 +0200 Subject: [PATCH] Fixed bug where username input didn't go away --- pkg/gui/files_panel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index ac5a8412e..5c957d217 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -365,6 +365,7 @@ func (gui *Gui) pushWithForceFlag(g *gocui.Gui, currentView *gocui.View, force b return gui.waitForPassUname(g, currentView, passOrUname) }) _, _ = g.SetViewOnBottom("pushPassUname") + _ = g.DeleteView("pushPassUname") if err != nil { errMessage := err.Error() if errMessage == "exit status 128" {