Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = keyMap{ Quit: key.NewBinding(key.WithKeys("q", "ctrl+c"), key.WithHelp("q", "quit")), Refresh: key.NewBinding(key.WithKeys("r"), key.WithHelp("r", "refresh")), Play: key.NewBinding(key.WithKeys("enter", " "), key.WithHelp("enter", "play")), Delete: key.NewBinding(key.WithKeys("d"), key.WithHelp("d", "delete")), Switch: key.NewBinding(key.WithKeys("tab"), key.WithHelp("tab", "switch focus")), Mode1: key.NewBinding(key.WithKeys("1"), key.WithHelp("1", "subscriptions")), Mode2: key.NewBinding(key.WithKeys("2"), key.WithHelp("2", "history")), Mode3: key.NewBinding(key.WithKeys("3"), key.WithHelp("3", "playlists")), Mode4: key.NewBinding(key.WithKeys("4"), key.WithHelp("4", "channels")), // contains filtered or unexported fields }
Functions ¶
func SetProgram ¶
Types ¶
type ListItem ¶
type ListItem interface {
Title() string
Description() string
FilterValue() string
ThumbnailPath() string
}
can either hold video / channel / playlist
Click to show internal directories.
Click to hide internal directories.