(g *gocui.Gui, v *gocui.View)
| 431 | } |
| 432 | |
| 433 | func (bt *bugTable) previousPage(g *gocui.Gui, v *gocui.View) error { |
| 434 | _, max := v.Size() |
| 435 | |
| 436 | if bt.pageCursor == 0 { |
| 437 | return nil |
| 438 | } |
| 439 | |
| 440 | bt.pageCursor = maxInt(0, bt.pageCursor-max) |
| 441 | |
| 442 | return bt.doPaginate(max) |
| 443 | } |
| 444 | |
| 445 | func (bt *bugTable) newBug(g *gocui.Gui, v *gocui.View) error { |
| 446 | return newBugWithEditor(bt.repo) |
nothing calls this directly
no test coverage detected