Versions in this module Expand all Collapse all v0 v0.1.9 Aug 3, 2024 v0.1.8 Aug 3, 2024 Changes in this version + const REFRESH_RATE + func HideCursor() + type ARender interface + Black func(...string) + Green func(...string) + Red func(...string) + type ListenKeyAndAction struct + Action func() + Key rune + type Render struct + BgBlack func(...string) + BgBlue func(...string) + BgCyan func(...string) + BgGreen func(...string) + BgMagenta func(...string) + BgRed func(...string) + BgWhite func(...string) + BgYellow func(...string) + Black func(...string) + Blue func(...string) + Bold func(...string) + Cyan func(...string) + Green func(...string) + Magenta func(...string) + Red func(...string) + Reset func() + Reversed func(...string) + Underline func(...string) + White func(...string) + Yellow func(...string) + type TUI struct + Notifs *[]string + Playlist *list.Playlist + Setting *types.Config + Songs *types.Activelist + func NewUI(playlist *list.Playlist, notifs *[]string, setting *types.Config) *TUI + func (tui TUI) Display() + func (tui TUI) DisplayStats(playedList []string, completedPlaylist int) + func (ui TUI) HandleInterrupt(playedList []string, completedPlaylist int) + func (ui TUI) ListenForKey(listenKeys []ListenKeyAndAction)