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

Function jumpTableBottom

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

Source from the content-addressed store, hash-verified

61}
62
63func jumpTableBottom(table *tview.Table) {
64 if table == nil {
65 return
66 }
67 rows := table.GetRowCount()
68 if rows <= 1 {
69 table.Select(0, 0)
70 return
71 }
72 table.Select(rows-1, 0)
73}

Callers 2

setupKeyHandlersMethod · 0.85
SetAppMethod · 0.85

Calls 1

SelectMethod · 0.65

Tested by

no test coverage detected