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

Method Blur

tuiutil/textinput.go:287–290  ·  view source on GitHub ↗

Blur removes the Focus state on the model. When the model is blurred it can not receive keyboard input and the cursor will be hidden.

()

Source from the content-addressed store, hash-verified

285// Blur removes the Focus state on the model. When the model is blurred it can
286// not receive keyboard input and the cursor will be hidden.
287func (m *TextInputModel) Blur() {
288 m.Focus = false
289 m.blink = true
290}
291
292// Reset sets the input to its default state with no input. Returns whether
293// or not the cursor blink should reset.

Callers 3

PrepareFormatModeFunction · 0.80
HandleKeyboardEventsFunction · 0.80
handleFilteringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected