(list *tview.List)
| 38 | } |
| 39 | |
| 40 | func 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 | |
| 51 | func jumpTableTop(table *tview.Table) { |
| 52 | if table == nil { |
no test coverage detected