MCPcopy
hub / github.com/ddworken/hishtory / Cursor

Method Cursor

client/table/table.go:475–477  ·  view source on GitHub ↗

Cursor returns the index of the selected row.

()

Source from the content-addressed store, hash-verified

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

Callers 4

updateTableFunction · 0.80
UpdateMethod · 0.80
ViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected