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

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