progress

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package progress displays the file control task progress.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw()

Draw the progress task and gauge.

func Finish

func Finish()

Finish progressing and the clear display.

func FinishTask

func FinishTask()

FinishTask finishes the file control task.

func Init

func Init()

Init initializes the progress window and gauge at the bottom position.

func IsFinished

func IsFinished() bool

IsFinished reports whether progressing finished.

func Resize

func Resize(x, y, width, height int)

Resize the progress window and gauge.

func Start

func Start(maxval float64)

Start progressing to an arrival value.

func StartTask

func StartTask(fi os.FileInfo)

StartTask starts the file control task.

func StartTaskCount

func StartTaskCount(count int)

StartTaskCount starts the task count.

func Update

func Update(value float64)

Update progressing by a value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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