tui

package
v0.2.25 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PasswordModal

func PasswordModal(hiddenText string) *string

Types

type CustomLabel

type CustomLabel struct {
	SearchTitle    string
	EnterHelpText  string
	DeleteHelpText string
}

func (*CustomLabel) GetDeleteHelpText

func (cl *CustomLabel) GetDeleteHelpText() string

func (*CustomLabel) GetEnterHelpText

func (cl *CustomLabel) GetEnterHelpText() string

type SearchRowItem

type SearchRowItem struct {
	// contains filtered or unexported fields
}

func NewSearchRowItem

func NewSearchRowItem(title string, idx string) SearchRowItem

func SearchUI

func SearchUI(customLabel CustomLabel, searchList []list.Item) (SearchRowItem, error)

func (SearchRowItem) Description

func (i SearchRowItem) Description() string

func (SearchRowItem) FilterValue

func (i SearchRowItem) FilterValue() string

func (SearchRowItem) Index

func (i SearchRowItem) Index() string

func (SearchRowItem) Title

func (i SearchRowItem) Title() string

Jump to

Keyboard shortcuts

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