countdown

package
v0.0.0-...-5a4b634 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Green  = termbox.RGBToAttribute(154, 255, 0)
	Red    = termbox.RGBToAttribute(255, 0, 68)
	Yellow = termbox.RGBToAttribute(255, 196, 0)
	Cyan   = termbox.RGBToAttribute(0, 239, 255)
)

Functions

This section is empty.

Types

type Countdown

type Countdown struct {
	// contains filtered or unexported fields
}

func New

func New(d time.Duration, task *task.Task, sessionType sessions.Type) *Countdown

func (*Countdown) Draw

func (c *Countdown) Draw(d time.Duration)

func (*Countdown) Run

func (c *Countdown) Run() error

type Font

type Font map[rune]Symbol

type Symbol

type Symbol []string

type Text

type Text []Symbol

Jump to

Keyboard shortcuts

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