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

Method cursorEnd

tuiutil/textinput.go:264–266  ·  view source on GitHub ↗

cursorEnd moves the cursor to the end of the input field and returns whether the cursor should blink should reset.

()

Source from the content-addressed store, hash-verified

262// cursorEnd moves the cursor to the end of the input field and returns whether
263// the cursor should blink should reset.
264func (m *TextInputModel) cursorEnd() bool {
265 return m.setCursor(len(m.value))
266}
267
268// Focused returns the Focus state on the model.
269func (m TextInputModel) Focused() bool {

Callers 3

CursorEndMethod · 0.95
wordRightMethod · 0.95
UpdateMethod · 0.95

Calls 1

setCursorMethod · 0.95

Tested by

no test coverage detected