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