From b9c4e3c003939e44d35695502326fece96d4cc42 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 25 Aug 2024 02:49:08 -0400 Subject: [PATCH] Forgot to wrap the multiline input text haha --- textinput.go | 1 + 1 file changed, 1 insertion(+) diff --git a/textinput.go b/textinput.go index 4af7851..2b9ee14 100644 --- a/textinput.go +++ b/textinput.go @@ -28,6 +28,7 @@ func newTextInput (text string, multiline bool) *TextInput { textInput.box.SetTag("multiline", multiline) if multiline { textInput.box.SetAttr(tomo.AOverflow(false, true)) + textInput.box.SetAttr(tomo.AWrap(true)) textInput.box.SetAttr(tomo.AAlign(tomo.AlignStart, tomo.AlignStart)) } else { textInput.box.SetAttr(tomo.AOverflow(true, false))