struct

FFF::ProgressBar

Inherits Struct < Value < Object

ProgressBar — Visual progress indicator for file operations. Shows a bar with percentage, file count, and current filename. Drawn on the second-to-last terminal row (same position as messages).

Constructors

new(operation : String = "Processing", total : Int32 = 0)
Source

Instance methods

current
Source
current_name
Source
draw(term_width : Int32, term_height : Int32, theme : Theme)

Draw the progress bar on terminal

Source
operation
Source
percentage

Calculate percentage

Source
total
Source
update(current : Int32, current_name : String)

Update progress state

Source