Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
121
func
(p *progressBarImpl) erase(n int) {
122
for
i := 0; i < n; i++ {
123
p.writer.Write([]byte{
'\b'
})
124
}
125
}
126
127
func
(p *progressBarImpl) done() {
128
p.wMutex.Lock()
Callers
2
write
Method · 0.95
done
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected