Fixed bug where username input didn't go away

This commit is contained in:
mjarkk 2018-10-27 16:29:16 +02:00
parent 9163110640
commit 9a99748d3b

View file

@ -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" {