(bug *cache.BugCache)
| 50 | } |
| 51 | |
| 52 | func (sb *showBug) SetBug(bug *cache.BugCache) { |
| 53 | sb.bug = bug |
| 54 | sb.scroll = 0 |
| 55 | sb.selected = "" |
| 56 | sb.isOnSide = false |
| 57 | } |
| 58 | |
| 59 | func (sb *showBug) layout(g *gocui.Gui) error { |
| 60 | maxX, maxY := g.Size() |
no outgoing calls
no test coverage detected