scenes

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyControlC = "ctrl+c"
	KeyEnter    = "enter"
	KeyEscape   = "esc"
	KeyTab      = "tab"
)
View Source
const (
	ErrorFailedAddMod = "failed to add mod"
)

Variables

This section is empty.

Functions

func NewApply added in v0.0.9

func NewApply(root components.RootModel, parent tea.Model) tea.Model

func NewInstallation added in v0.0.9

func NewInstallation(root components.RootModel, parent tea.Model, installationData *cli.Installation) tea.Model

func NewInstallations

func NewInstallations(root components.RootModel, parent tea.Model) tea.Model

func NewInstalledMods added in v0.0.15

func NewInstalledMods(root components.RootModel, parent tea.Model) tea.Model

func NewMainMenu

func NewMainMenu(root components.RootModel) tea.Model

func NewModInfo

func NewModInfo(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model

func NewModMenu

func NewModMenu(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model

func NewModSemver

func NewModSemver(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model

func NewModVersion

func NewModVersion(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model

func NewModVersionList

func NewModVersionList(root components.RootModel, parent tea.Model, mod utils.Mod) tea.Model

func NewMods

func NewMods(root components.RootModel, parent tea.Model) tea.Model

func NewNewInstallation added in v0.0.9

func NewNewInstallation(root components.RootModel, parent tea.Model) tea.Model

func NewNewProfile added in v0.0.7

func NewNewProfile(root components.RootModel, parent tea.Model) tea.Model

func NewProfile added in v0.0.7

func NewProfile(root components.RootModel, parent tea.Model, profileData *cli.Profile) tea.Model

func NewProfiles

func NewProfiles(root components.RootModel, parent tea.Model) tea.Model

func NewRenameProfile added in v0.0.7

func NewRenameProfile(root components.RootModel, parent tea.Model, profileData *cli.Profile) tea.Model

Types

type ModsListDelegate added in v0.0.15

type ModsListDelegate struct {
	list.ItemDelegate
	Context *cli.GlobalContext
}

func (ModsListDelegate) Render added in v0.0.15

func (c ModsListDelegate) Render(w io.Writer, m list.Model, index int, item list.Item)

type NewInstallListDelegate added in v0.0.15

type NewInstallListDelegate struct {
	list.ItemDelegate
}

func (NewInstallListDelegate) Render added in v0.0.15

func (c NewInstallListDelegate) Render(w io.Writer, m list.Model, index int, item list.Item)

Jump to

Keyboard shortcuts

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