modsearch

package
v1.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleSearch

type ModuleSearch struct {
	list.Model
}

func New

func New(c common.Common, target string) *ModuleSearch

func (*ModuleSearch) GetHeight added in v1.10.0

func (m *ModuleSearch) GetHeight() int

func (*ModuleSearch) GetWidth added in v1.10.0

func (m *ModuleSearch) GetWidth() int

func (*ModuleSearch) Init

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

func (*ModuleSearch) SetListItems added in v1.10.0

func (m *ModuleSearch) SetListItems(mods []string)

func (*ModuleSearch) SetSelected added in v1.10.0

func (m *ModuleSearch) SetSelected(moduleName string)

func (*ModuleSearch) SetSize

func (m *ModuleSearch) SetSize(w, h int)

func (*ModuleSearch) Update

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

func (*ModuleSearch) View

func (m *ModuleSearch) View() string

Jump to

Keyboard shortcuts

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