From 3077249a13add6de7834c606b9da36526ea67fd9 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 6 Sep 2024 00:14:10 -0400 Subject: [PATCH] TextInput updates state better when typing --- textinput.go | 1 + 1 file changed, 1 insertion(+) diff --git a/textinput.go b/textinput.go index 7d5bcc8..76aac53 100644 --- a/textinput.go +++ b/textinput.go @@ -214,6 +214,7 @@ func (this *TextInput) handleKeyDown (key input.Key, numpad bool) bool { this.box.SetText(string(txt)) this.box.Select(dot) this.on.valueChange.Broadcast() + this.on.dotChange.Broadcast() this.logKeystroke() } } ()