Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LiveRenderer ¶
type LiveRenderer struct {
// contains filtered or unexported fields
}
LiveRenderer renders a cross-platform, adaptive, colorful progress table. - Uses ANSI when available; plain text fallback otherwise. - Adapts to terminal width/height. - Shows job header + totals + active file rows with progress bars.
func NewLiveRenderer ¶
func NewLiveRenderer(job hfdownloader.Job, cfg hfdownloader.Settings) *LiveRenderer
NewLiveRenderer creates a new live TUI renderer.
func (*LiveRenderer) Close ¶
func (lr *LiveRenderer) Close()
Close stops the renderer and restores the terminal.
func (*LiveRenderer) Handler ¶
func (lr *LiveRenderer) Handler() hfdownloader.ProgressFunc
Handler returns a ProgressFunc that feeds events to the renderer.
Click to show internal directories.
Click to hide internal directories.