From bdf6f07c7599d3167be059b334590fa978c34cf4 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 21 May 2020 22:30:38 -0400 Subject: [PATCH] Resetting a text input also resets the cursor blink state --- textinput/textinput.go | 1 + 1 file changed, 1 insertion(+) diff --git a/textinput/textinput.go b/textinput/textinput.go index 9c53764..624c7ba 100644 --- a/textinput/textinput.go +++ b/textinput/textinput.go @@ -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