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

Method Clear

private/segdisp/sixteen/sixteen.go:315–321  ·  view source on GitHub ↗

Clear clears the entire display, turning all segments off.

(opts ...Option)

Source from the content-addressed store, hash-verified

313
314// Clear clears the entire display, turning all segments off.
315func (d *Display) Clear(opts ...Option) {
316 for _, opt := range opts {
317 opt.set(d)
318 }
319
320 d.segments = map[Segment]bool{}
321}
322
323// SetSegment sets the specified segment on.
324// This method is idempotent.

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected