(g *gocui.Gui, v *gocui.View)
| 419 | } |
| 420 | |
| 421 | func (bt *bugTable) nextPage(g *gocui.Gui, v *gocui.View) error { |
| 422 | _, max := v.Size() |
| 423 | |
| 424 | if bt.pageCursor+max >= len(bt.allIds) { |
| 425 | return nil |
| 426 | } |
| 427 | |
| 428 | bt.pageCursor += max |
| 429 | |
| 430 | return bt.doPaginate(max) |
| 431 | } |
| 432 | |
| 433 | func (bt *bugTable) previousPage(g *gocui.Gui, v *gocui.View) error { |
| 434 | _, max := v.Size() |
nothing calls this directly
no test coverage detected