From f7ef5cdb3af2b0f958e54a6c24167d3b430dca1c Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 9 Aug 2018 16:48:23 +0200 Subject: termui: fix the instructions being written on in show bug --- termui/show_bug.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'termui/show_bug.go') diff --git a/termui/show_bug.go b/termui/show_bug.go index 4f5373d6..585ee148 100644 --- a/termui/show_bug.go +++ b/termui/show_bug.go @@ -86,6 +86,11 @@ func (sb *showBug) layout(g *gocui.Gui) error { fmt.Fprintf(v, "[q] Save and return [c] Comment [t] Change title [↓,j] Down [↑,k] Up") } + _, err = g.SetViewOnTop(showBugInstructionView) + if err != nil { + return err + } + _, err = g.SetCurrentView(showBugView) return err } -- cgit