(v *gocui.View)
| 408 | } |
| 409 | |
| 410 | func (bt *bugTable) cursorClamp(v *gocui.View) error { |
| 411 | y := bt.selectCursor |
| 412 | |
| 413 | y = minInt(y, bt.getTableLength()-1) |
| 414 | y = maxInt(y, 0) |
| 415 | |
| 416 | bt.selectCursor = y |
| 417 | |
| 418 | return nil |
| 419 | } |
| 420 | |
| 421 | func (bt *bugTable) nextPage(g *gocui.Gui, v *gocui.View) error { |
| 422 | _, max := v.Size() |
no test coverage detected