MCPcopy Create free account
hub / github.com/abiosoft/ishell / erase

Method erase

progress.go:121–125  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

119}
120
121func (p *progressBarImpl) erase(n int) {
122 for i := 0; i < n; i++ {
123 p.writer.Write([]byte{'\b'})
124 }
125}
126
127func (p *progressBarImpl) done() {
128 p.wMutex.Lock()

Callers 2

writeMethod · 0.95
doneMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected