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.
()
| 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. |
| 287 | func (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. |
no outgoing calls
no test coverage detected