MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / jumpTableTop

Function jumpTableTop

internal/ui/components/vim_nav.go:51–61  ·  view source on GitHub ↗
(table *tview.Table)

Source from the content-addressed store, hash-verified

49}
50
51func jumpTableTop(table *tview.Table) {
52 if table == nil {
53 return
54 }
55 rows := table.GetRowCount()
56 if rows <= 1 {
57 table.Select(0, 0)
58 return
59 }
60 table.Select(1, 0)
61}
62
63func jumpTableBottom(table *tview.Table) {
64 if table == nil {

Callers 2

setupKeyHandlersMethod · 0.85
SetAppMethod · 0.85

Calls 1

SelectMethod · 0.65

Tested by

no test coverage detected