ui

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupMpvProcesses

func CleanupMpvProcesses()

CleanupMpvProcesses kills any running mpv processes when ytui exits

func Menu()

func VideoSelectionMenu

func VideoSelectionMenu(videoData []youtube.SearchResultItem, invidiousInstance, proxyURLString string) (youtube.SearchResultItem, error)

VideoSelectionMenu displays an interactive menu for video selection

Types

type ViewType

type ViewType int
const (
	MainMenuView ViewType = iota
	SearchResultsView
	SubscribedView
	HistoryView
	SearchInputView
)

Jump to

Keyboard shortcuts

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