tui

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Display

func Display(rplaylist *[]string, rnotifs *[]string, songs *g.Activelist, UserSetting *g.Setting)

func DisplayStats

func DisplayStats(playlist, playedList []string, completedPlaylist int)

func HideCursor

func HideCursor()

Types

type ARender

type ARender interface {
	Black(...string)
	Red(...string)
	Green(...string)
}

type Activelist

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

type Render

type Render struct {
	Black     func(...string)
	Red       func(...string)
	Green     func(...string)
	Yellow    func(...string)
	Blue      func(...string)
	Magenta   func(...string)
	Cyan      func(...string)
	White     func(...string)
	BgBlack   func(...string)
	BgRed     func(...string)
	BgGreen   func(...string)
	BgYellow  func(...string)
	BgBlue    func(...string)
	BgMagenta func(...string)
	BgCyan    func(...string)
	BgWhite   func(...string)
	Bold      func(...string)
	Underline func(...string)
	Reversed  func(...string)
	Reset     func()
}

type Setting

type Setting struct {
	Shuffle        bool
	RepeatSong     bool
	RepeatPlaylist bool
}

Jump to

Keyboard shortcuts

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