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))