Skip to content

Remove progress after 100% complete #194

Closed
@deyman12

Description

@deyman12

i thought this was a duplicate, in issue #173, but when i added :autofinish => true, it didn't work at all. so, are there any other options to clean up the progress when it's already completed to 100%?

Screenshot from 2024-03-01 19-58-51

the simple code:

require "ruby-progressbar"

p = ProgressBar.create(
  :total => 10,
  :format => "%a %b\u{15E7}%i %p%% %t",
  :progress_mark => ' ',
  :remainder_mark => "\u{FF65}",
  :autofinish => true
)

10.times {
  p.increment
  sleep 0.1
}

regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions