Documentation
¶
Overview ¶
Package tui implements the terminal user interface for the podcasts-sync application.
Index ¶
Constants ¶
View Source
const ( Flamingo = "#f2cdcd" Pink = "#f5c2e7" Mauve = "#cba6f7" MauveDarker = "#6b5885" Red = "#f38ba8" Maroon = "#eba0ac" Peach = "#fab387" Yellow = "#f9e2af" Green = "#a6e3a1" Teal = "#94e2d5" Sky = "#89dceb" Sapphire = "#74c7ec" Blue = "#89b4fa" Lavender = "#b4befe" Text = "#cdd6f4" Subtext1 = "#bac2de" Subtext0 = "#a6adc8" Overlay2 = "#9399b2" Overlay1 = "#7f849c" Overlay0 = "#6c7086" Surface2 = "#585b70" Surface1 = "#45475a" Surface0 = "#313244" Base = "#1e1e2e" Mantle = "#181825" Crust = "#11111b" )
Catppuccin Mocha color palette
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmKeyMap ¶
func (ConfirmKeyMap) FullHelp ¶
func (k ConfirmKeyMap) FullHelp() [][]key.Binding
func (ConfirmKeyMap) ShortHelp ¶
func (k ConfirmKeyMap) ShortHelp() []key.Binding
type DriveHelpKeyMap ¶ added in v0.1.0
type DriveHelpKeyMap struct{ KeyMap }
func (DriveHelpKeyMap) ShortHelp ¶ added in v0.1.0
func (k DriveHelpKeyMap) ShortHelp() []key.Binding
type DrivePodcastsMsg ¶
type DrivePodcastsMsg struct {
Podcasts []internal.PodcastEpisode
PodcastsDrive []internal.PodcastEpisode
}
type DriveUpdatedMsg ¶
type DrivesPollMsg ¶
type DrivesPollMsg struct{}
type KeyMap ¶
type KeyMap struct {
Up key.Binding
Down key.Binding
Left key.Binding
Right key.Binding
Space key.Binding
Enter key.Binding
Escape key.Binding
Tab key.Binding
SelectDrive key.Binding
Sync key.Binding
SyncAll key.Binding
Refresh key.Binding
Delete key.Binding
DeleteAll key.Binding
Debug key.Binding
Quit key.Binding
Progress key.Binding
}
type MacHelpKeyMap ¶ added in v0.1.0
type MacHelpKeyMap struct{ KeyMap }
func (MacHelpKeyMap) ShortHelp ¶ added in v0.1.0
func (k MacHelpKeyMap) ShortHelp() []key.Binding
type MacPodcastsMsg ¶
type MacPodcastsMsg []internal.PodcastEpisode
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func InitialModel ¶
func InitialModel() Model
type ProgressTickMsg ¶ added in v0.3.0
type ProgressTickMsg struct{}
type StyleSet ¶
type StyleSet struct {
// contains filtered or unexported fields
}
StyleSet contains a matched set of title and description styles
type TransferKeyMap ¶
func (TransferKeyMap) FullHelp ¶
func (k TransferKeyMap) FullHelp() [][]key.Binding
func (TransferKeyMap) ShortHelp ¶
func (k TransferKeyMap) ShortHelp() []key.Binding
Click to show internal directories.
Click to hide internal directories.