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

Method Reset

tuiutil/textinput.go:294–297  ·  view source on GitHub ↗

Reset sets the input to its default state with no input. Returns whether or not the cursor blink should reset.

()

Source from the content-addressed store, hash-verified

292// Reset sets the input to its default state with no input. Returns whether
293// or not the cursor blink should reset.
294func (m *TextInputModel) Reset() bool {
295 m.value = nil
296 return m.setCursor(0)
297}
298
299// handle a clipboard paste event, if supported. Returns whether or not the
300// cursor blink should reset.

Callers 3

ExitToDefaultViewFunction · 0.80
resetFilteringMethod · 0.80
ConvertFunction · 0.80

Calls 1

setCursorMethod · 0.95

Tested by

no test coverage detected