Documentation
¶
Overview ¶
Package list creates a TUI list based on the contents specified in a structure, and returns the selected row.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶ added in v0.6.13
type Info struct {
// Incremental search line prompt string
Prompt string
Title string
RowFn func(name string) string
NameList []string
SelectName []string
DataText []string // all data text list
ViewText []string // filtered text list
MultiFlag bool // multi select flag
Keyword string // input keyword
CursorLine int // cursor line
Term TermInfo
}
Info ...
func (*Info) DeleteRune ¶ added in v1.0.1
func (l *Info) DeleteRune()
DeleteRune deletes rune at search keywords(l.Keyword).
func (*Info) InsertRune ¶ added in v1.0.1
InsertRune adds rune to search keywords(l.Keyword).
Click to show internal directories.
Click to hide internal directories.