Documentation ¶
Overview ¶
Package list defines the styles and renders the Bubbles list for torrents on the main screen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Self *torrent.Torrent Theme *styles.ColorTheme Added time.Time Created time.Time Comment string Program string }
Define the torrent items that go in the torrent list
func (Item) Description ¶
Description returns the torrent info, including the download, upload, and peers stats.
func (Item) FilterValue ¶
FilterValue currently has no function, as torrent filtering is not currently supported in the main screen.
type ItemDelegate ¶
type ItemDelegate struct{}
func (ItemDelegate) Height ¶
func (d ItemDelegate) Height() int
Height returns the height setting for a list entry.
func (ItemDelegate) Render ¶
Render renders a list entry for the torrent list with the color theme styling.
func (ItemDelegate) Spacing ¶
func (d ItemDelegate) Spacing() int
Spacing returns the spacing setting for a list entry.
Click to show internal directories.
Click to hide internal directories.