From 33f801ed717dc3edb73c8619d6ea7b4694342437 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 4 Sep 2025 00:13:31 -0500 Subject: finally crapping panic() (maybe. notsure.) --- addText.go | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'addText.go') diff --git a/addText.go b/addText.go index 7b01066..f89c15a 100644 --- a/addText.go +++ b/addText.go @@ -18,19 +18,6 @@ func (n *Node) addText(newS string) { } n.strings[newS] = highest + 1 // TODO: use the int's for the order n.newString = newS - /* - // time.Sleep(time.Duration(1000 * time.Nanosecond)) // doesn't work - // maybe this stupid chipset is defective. TODO: try on different hardware - // tried with go 1.21.4 debian sid - mylock.Lock() - n.mu.Lock() - // time.Sleep(time.Duration(10 * time.Microsecond)) // doesn't work - time.Sleep(time.Duration(100 * time.Microsecond)) // does work - n.strings = append(n.strings, newS) - n.mu.Unlock() - mylock.Unlock() - log.Log(INFO, "addText() has strings:", n.strings) - */ // inform the toolkits sendAction(n, widget.AddText) -- cgit v1.2.3