Cursor returns the index of the selected row.
()
| 473 | |
| 474 | // Cursor returns the index of the selected row. |
| 475 | func (m Model) Cursor() int { |
| 476 | return m.cursor |
| 477 | } |
| 478 | |
| 479 | // SetCursor sets the cursor position in the table. |
| 480 | func (m *Model) SetCursor(n int) { |
no outgoing calls
no test coverage detected