From 6f91f5e080e06cdc0f34b13d23e5fd16ea37259a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 Mar 2023 20:14:18 -0500 Subject: starting to try safe chan and goroutines fix tab title's right before attempting to add chan goroutines removed "where" widget pointer box added to tab experiement with log as it's own repo Signed-off-by: Jeff Carr --- tab.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tab.go') diff --git a/tab.go b/tab.go index 702e99f..4ed5384 100644 --- a/tab.go +++ b/tab.go @@ -12,7 +12,9 @@ func (n *Node) NewTab(text string) *Node { var a toolkit.Action a.Type = toolkit.Add + a.Title = text newaction(&a, newNode, n) - return newNode + newBox := newNode.NewBox(text, true) + return newBox } -- cgit v1.2.3