(table *tview.Table)
| 49 | } |
| 50 | |
| 51 | func 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 | |
| 63 | func jumpTableBottom(table *tview.Table) { |
| 64 | if table == nil { |
no test coverage detected