From f615feaf81e9d533f1bd4c6f58a94315a3adc720 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 4 Nov 2021 02:48:41 -0500 Subject: [PATCH] GOOD: read text from multi-line entrybox Signed-off-by: Jeff Carr --- box.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/box.go b/box.go index 5b4febe..67c0c05 100644 --- a/box.go +++ b/box.go @@ -42,6 +42,9 @@ func (n *Node) AddComboBox(title string, s ...string) *Node { } func (n *Node) GetText() string { + if (n.uiMultilineEntry != nil) { + return n.uiMultilineEntry.Text() + } if (n.uiText == nil) { return "" }