modselect

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModSelect

type ModSelect struct {
	common.Common

	Modules      []string
	ModulesIndex map[string]int

	Selected int
	// contains filtered or unexported fields
}

A vertical bar that allows you to select a module that has been seen

func New

func New(c common.Common, manifestPath string) *ModSelect

func (*ModSelect) AddModule

func (m *ModSelect) AddModule(modName string) bool

func (*ModSelect) Init

func (m *ModSelect) Init() tea.Cmd

func (*ModSelect) Update

func (m *ModSelect) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*ModSelect) View

func (m *ModSelect) View() string

Jump to

Keyboard shortcuts

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