selection

package
v0.52.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewTargetIdentifier = "<NEW_TARGET>"

Functions

func GetTargetFromPrompt

func GetTargetFromPrompt(targets []apiclient.TargetDTO, withNewTarget bool, actionVerb string) *apiclient.TargetDTO

func GetTargetsFromPrompt

func GetTargetsFromPrompt(targets []apiclient.TargetDTO, actionVerb string) []*apiclient.TargetDTO

Types

type ItemDelegate

type ItemDelegate[T any] struct {
}

func (ItemDelegate[T]) Height

func (d ItemDelegate[T]) Height() int

func (ItemDelegate[T]) Render

func (d ItemDelegate[T]) Render(w io.Writer, m list.Model, index int, listItem list.Item)

func (ItemDelegate[T]) Spacing

func (d ItemDelegate[T]) Spacing() int

func (ItemDelegate[T]) Update

func (d ItemDelegate[T]) Update(msg tea.Msg, m *list.Model) tea.Cmd

Jump to

Keyboard shortcuts

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