Reset sets the input to its default state with no input. Returns whether or not the cursor blink should reset.
()
| 292 | // Reset sets the input to its default state with no input. Returns whether |
| 293 | // or not the cursor blink should reset. |
| 294 | func (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. |
no test coverage detected