MCPcopy
hub / github.com/mathaou/termdbms / cursorStart

Method cursorStart

tuiutil/textinput.go:235–237  ·  view source on GitHub ↗

cursorStart moves the cursor to the start of the input field and returns whether or not the curosr blink should be reset.

()

Source from the content-addressed store, hash-verified

233// cursorStart moves the cursor to the start of the input field and returns
234// whether or not the curosr blink should be reset.
235func (m *TextInputModel) cursorStart() bool {
236 return m.setCursor(0)
237}
238
239// CursorEnd moves the cursor to the end of the input field
240func (m *TextInputModel) CursorEnd() {

Callers 3

CursorStartMethod · 0.95
wordLeftMethod · 0.95
UpdateMethod · 0.95

Calls 1

setCursorMethod · 0.95

Tested by

no test coverage detected