processbar

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProcessBar

func NewProcessBar(lens int64, opts ...Option) *processBar

Types

type Option

type Option func(p *processBar)

func OptionsCleanAfterFinish

func OptionsCleanAfterFinish(enable bool) Option

func OptionsEnables

func OptionsEnables(enable bool) Option

func OptionsFullWidth

func OptionsFullWidth(enable bool) Option

func OptionsPrefix

func OptionsPrefix(prefix string) Option

func OptionsShowFileName

func OptionsShowFileName(enable bool) Option

func OptionsUrl

func OptionsUrl(url string) Option

type Theme

type Theme struct {
	Saucer        string
	SaucerRight   string
	SaucerPadding string
	BarStart      string
	BarEnd        string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL