Versions in this module Expand all Collapse all v0 v0.4.0 Sep 29, 2026 Changes in this version + type Counter struct + func NewCounter(term *Terminal, o CounterOptions) *Counter + func (c *Counter) Close() + func (c *Counter) Draw() + func (c *Counter) Handle(e progress.Event) + func (c *Counter) Resume() + func (c *Counter) Start() + func (c *Counter) Suspend() + type CounterOptions struct + ASCII bool + Now func() time.Time + type Plain struct + func NewPlain(term *Terminal, o PlainOptions) *Plain + func (p *Plain) Close() + func (p *Plain) Draw() + func (p *Plain) Handle(e progress.Event) + func (p *Plain) Resume() + func (p *Plain) Start() + func (p *Plain) Suspend() + type PlainOptions struct + ASCII bool + Noun func(n int) string + Now func() time.Time + type Summary struct + func (s *Summary) Handle(e progress.Event) + func (s *Summary) Line() string + type Terminal struct + Foreground func() bool + PanicLog io.Writer + Program string + func NewTerminal(w io.Writer, size func() (w, h int, err error)) *Terminal + func (t *Terminal) Lines(w io.Writer) io.Writer + func (t *Terminal) Writer(w io.Writer) io.Writer + type Tree struct + func NewTree(term *Terminal, o TreeOptions) *Tree + func (t *Tree) Close() + func (t *Tree) Draw() + func (t *Tree) Handle(e progress.Event) + func (t *Tree) Resume() + func (t *Tree) Start() + func (t *Tree) Suspend() + func (t *Tree) WantsLines() bool + type TreeOptions struct + ASCII bool + Interrupted <-chan struct{} + Now func() time.Time