forked from Mirrors/bubbletea
Resetting a text input also resets the cursor blink state
This commit is contained in:
parent
9d175b5ed7
commit
bdf6f07c75
|
@ -116,6 +116,7 @@ func (m *Model) Reset() {
|
||||||
m.value = ""
|
m.value = ""
|
||||||
m.offset = 0
|
m.offset = 0
|
||||||
m.pos = 0
|
m.pos = 0
|
||||||
|
m.blink = false
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a max width is defined, perform some logic to treat the visible area
|
// If a max width is defined, perform some logic to treat the visible area
|
||||||
|
|
Loading…
Reference in New Issue