ui

package
v0.0.0-...-53359ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Torrent

type Torrent struct {
	types.Torrent
	// contains filtered or unexported fields
}

type UI

type UI struct {
	// contains filtered or unexported fields
}

func NewUI

func NewUI(options *UIOptions) *UI

func (*UI) Fatal

func (ui *UI) Fatal(err error)

func (*UI) GenerateCell

func (ui *UI) GenerateCell(value string, leftPadding int, rightPadding int, color tcell.Color) *tview.TableCell

func (*UI) GenerateSearchForm

func (ui *UI) GenerateSearchForm()

func (*UI) GenerateShortcuts

func (ui *UI) GenerateShortcuts()

func (*UI) GenerateTable

func (ui *UI) GenerateTable()

func (*UI) GetTorrentId

func (ui *UI) GetTorrentId(row int) (string, int)

func (*UI) Run

func (ui *UI) Run() error

func (*UI) Search

func (ui *UI) Search(opts nyaa.SearchOptions) error

type UIOptions

type UIOptions struct {
	VideoPlayer     string
	Fullscreen      bool
	OutputDirectory string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL