From e2f4b027c946831c3f4f119d87a80513c7cf8fdc Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 12 Aug 2018 21:09:30 +0200 Subject: termui: implement push/pull --- termui/show_bug.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'termui/show_bug.go') diff --git a/termui/show_bug.go b/termui/show_bug.go index c0896e08..799af9c7 100644 --- a/termui/show_bug.go +++ b/termui/show_bug.go @@ -93,7 +93,7 @@ func (sb *showBug) layout(g *gocui.Gui) error { } v.Clear() - fmt.Fprintf(v, "[q] Save and return [←,h] Left [↓,j] Down [↑,k] Up [→,l] Right ") + fmt.Fprintf(v, "[q] Save and return [←↓↑→,hjkl] Navigation ") if sb.isOnSide { fmt.Fprint(v, "[a] Add label [r] Remove label") @@ -591,7 +591,7 @@ func (sb *showBug) addLabel(g *gocui.Gui, v *gocui.View) error { err := sb.bug.ChangeLabels(trimLabels(labels), nil) if err != nil { - ui.errorPopup.Activate(err.Error()) + ui.msgPopup.Activate(msgPopupErrorTitle, err.Error()) } g.Update(func(gui *gocui.Gui) error { @@ -614,7 +614,7 @@ func (sb *showBug) removeLabel(g *gocui.Gui, v *gocui.View) error { err := sb.bug.ChangeLabels(nil, trimLabels(labels)) if err != nil { - ui.errorPopup.Activate(err.Error()) + ui.msgPopup.Activate(msgPopupErrorTitle, err.Error()) } g.Update(func(gui *gocui.Gui) error { -- cgit