timholy / timholy/ProgressMeter.jl

Line not overwritten when progress is at 100%

Open
#87 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.