timholy / timholy/ProgressMeter.jl
Line not overwritten when progress is at 100%
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 789
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
julia> using ProgressMeter
julia> p = Progress(100, 1)
ProgressMeter.Progress(100, 1.0, 0, 1.512777222765478e9, 1.512777222765478e9, false, "Progress: ", 41, ProgressMeter.BarGlyphs('|', '█', '█', ' ', '|'), :green, Base.TTY(RawFD(10) open, 0 bytes waiting), 0)
julia> for i = 1:100
update!(p, 100)
sleep(1)
end
Progress: 100%|█████████████████████████████████████████| Time: 0:01:16
Progress: 100%|█████████████████████████████████████████| Time: 0:01:17
Progress: 100%|█████████████████████████████████████████| Time: 0:01:18
Progress: 100%|█████████████████████████████████████████| Time: 0:01:19
Progress: 100%|█████████████████████████████████████████| Time: 0:01:20
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 Julia REPL example using Progress(100, 1), update!(p, 100), and the shown sleep loop. Trace the terminal-rendering path used by Progress and update!; done means repeated updates at 100% overwrite one line instead of printing new progress lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100