diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 00:13:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 00:13:31 -0500 |
| commit | 33f801ed717dc3edb73c8619d6ea7b4694342437 (patch) | |
| tree | 37e19ef041e2e85ecce8fde230faab681d5e3808 /addText.go | |
| parent | 7c2c36f892e6c858954ce205e3136036962dfb33 (diff) | |
finally crapping panic() (maybe. notsure.)
Diffstat (limited to 'addText.go')
| -rw-r--r-- | addText.go | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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) |
