Documentation
¶
Index ¶
Constants ¶
View Source
const REFRESH_RATE = time.Millisecond * 200
Variables ¶
This section is empty.
Functions ¶
func HideCursor ¶
func HideCursor()
Types ¶
type ListenKeyAndAction ¶
type ListenKeyAndAction struct { Key rune Action func() }
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 TUI ¶
type TUI struct { Playlist *list.Playlist Notifs *[]string Songs *types.Activelist Setting *types.Config }
func (TUI) DisplayStats ¶
func (TUI) HandleInterrupt ¶
func (TUI) ListenForKey ¶
func (ui TUI) ListenForKey(listenKeys []ListenKeyAndAction)
Click to show internal directories.
Click to hide internal directories.