Duplicate rendering of extra empty lines
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4.7k
- Forks
- 258
- Avg merge
- 13h 31m
- Merged PRs (30d)
- 1
Description
When revert 3e6b9bf007862f9acf97b7cdc2dc2c8f6683f110
Each time the progress bar is rendered, an empty line is added.
func main() {
bar := progressbar.Default(100)
for i := 0; i < 100; i++ {
bar.Add(1)
time.Sleep(40 * time.Millisecond)
}
}

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the extra blank lines with the progressbar.Default and bar.Add example, then compare the behavior around revert 3e6b9bf007862f9acf97b7cdc2dc2c8f6683f110. Trace the progress-bar rendering entry point and verify that repeated renders no longer add empty lines while the bar still updates correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100