Versions in this module Expand all Collapse all v1 v1.0.0 Jul 29, 2022 Changes in this version + func Info() (int, int, bool, error) — darwin/amd64, windows/amd64 + func Info() (percent int, elapsed int, present bool, err error) — linux/amd64 + type Bar struct + EnableColor bool + EnableTmux bool + ShowCounter bool + ShowElapsed bool + ShowIcon bool + ShowPercent bool + Showthunder bool + func New(total int) *Bar + func (bar *Bar) Run() + func (bar *Bar) Set(percent, elapsed int) *Bar + func (bar *Bar) SetPostfix(char rune) *Bar + func (bar *Bar) SetPrefix(char rune) *Bar + func (bar *Bar) SetWidth(width int) *Bar + type SYSTEM_POWER_STATUS struct — windows/amd64 + ACLineStatus byte + BatteryFlag byte + BatteryFullLifeTime uint32 + BatteryLifePercent byte + BatteryLifeTime uint32 + Reserved1 byte