MCPcopy Create free account
hub / github.com/git-bug/git-bug / nextPage

Method nextPage

termui/bug_table.go:421–431  ·  view source on GitHub ↗
(g *gocui.Gui, v *gocui.View)

Source from the content-addressed store, hash-verified

419}
420
421func (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
433func (bt *bugTable) previousPage(g *gocui.Gui, v *gocui.View) error {
434 _, max := v.Size()

Callers

nothing calls this directly

Calls 2

doPaginateMethod · 0.95
SizeMethod · 0.45

Tested by

no test coverage detected