diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-09 16:48:23 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-09 16:48:23 +0200 |
commit | f7ef5cdb3af2b0f958e54a6c24167d3b430dca1c (patch) | |
tree | e61ba86ed8f0d09b650a7a01b9023a835d59b70d | |
parent | a0d509bcddf5ae0115c8679bbd81425696552b86 (diff) | |
download | git-bug-f7ef5cdb3af2b0f958e54a6c24167d3b430dca1c.tar.gz |
termui: fix the instructions being written on in show bug
-rw-r--r-- | termui/show_bug.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |