Resetting a text input also resets the cursor blink state

This commit is contained in:
Christian Rocha 2020-05-21 22:30:38 -04:00
parent 9d175b5ed7
commit bdf6f07c75
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ func (m *Model) Reset() {
m.value = ""
m.offset = 0
m.pos = 0
m.blink = false
}
// If a max width is defined, perform some logic to treat the visible area