MCPcopy
hub / github.com/mum4k/termdash / Reset

Method Reset

widgets/text/text.go:80–84  ·  view source on GitHub ↗

Reset resets the widget back to empty content.

()

Source from the content-addressed store, hash-verified

78
79// Reset resets the widget back to empty content.
80func (t *Text) Reset() {
81 t.mu.Lock()
82 defer t.mu.Unlock()
83 t.reset()
84}
85
86// reset implements Reset, caller must hold t.mu.
87func (t *Text) reset() {

Callers 15

renderCtrlStatusFunction · 0.45
renderVizStatusFunction · 0.45
writeExplorerStatusFunction · 0.45
animateExplorerFunction · 0.45
renderThreeDInfoFunction · 0.45
updateWidgetsFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
startDetailUpdaterFunction · 0.45
mainFunction · 0.45
UpdateMethod · 0.45
renderControlStatusFunction · 0.45

Calls 1

resetMethod · 0.95

Tested by 1

TestTextDrawsFunction · 0.36