Versions in this module Expand all Collapse all v0 v0.1.0 May 25, 2026 Changes in this version + type AddFileMsg struct + Chunks []ChunkRange + ID string + Name string + Size int64 + Workers int + type BarMode int + const BarModeUnified + const BarModeWorkers + type ChunkProgressMsg struct + ChunkTotal int64 + Downloaded int64 + FileID string + WorkerID int + type ChunkRange struct + Offset int64 + Size int64 + type FileDoneMsg struct + FileID string + type FileErrorMsg struct + Err error + FileID string + type FileStatus int + const StatusActive + const StatusDone + const StatusError + type Model struct + func New(opts ...Option) Model + func (m Model) AllDone() bool + func (m Model) FileCount() int + func (m Model) Init() tea.Cmd + func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m Model) View() string + type Option func(*Model) + func WithBarMode(m BarMode) Option + func WithRefreshRate(d time.Duration) Option + func WithShowWorkers(show bool) Option + func WithStyles(s Styles) Option + func WithWidth(w int) Option + func WithWorkerBarWidth(w int) Option + type QuitMsg struct + type RemoveFileMsg struct + FileID string + type Styles struct + BarEmpty lipgloss.Style + BarFull lipgloss.Style + BarTip lipgloss.Style + Boundary lipgloss.Style + Done lipgloss.Style + ETA lipgloss.Style + Error lipgloss.Style + Name lipgloss.Style + Percent lipgloss.Style + Separator lipgloss.Style + Size lipgloss.Style + Speed lipgloss.Style + Worker lipgloss.Style + func DefaultStyles() Styles