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

Function jumpListBottom

internal/ui/components/vim_nav.go:40–49  ·  view source on GitHub ↗
(list *tview.List)

Source from the content-addressed store, hash-verified

38}
39
40func jumpListBottom(list *tview.List) {
41 if list == nil {
42 return
43 }
44 count := list.GetItemCount()
45 if count <= 0 {
46 return
47 }
48 list.SetCurrentItem(count - 1)
49}
50
51func jumpTableTop(table *tview.Table) {
52 if table == nil {

Callers 2

SetAppMethod · 0.85
SetAppMethod · 0.85

Calls 1

SetCurrentItemMethod · 0.65

Tested by

no test coverage detected