list

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	Screen        tcell.Screen
	Line          int
	List          []string
	Tags          []Tag
	Selected      int
	DefaultStyle  tcell.Style
	SelectedStyle tcell.Style
}

func (*List) GetSelected

func (l *List) GetSelected() string

func (*List) Render

func (l *List) Render()

func (*List) SelectorDown

func (l *List) SelectorDown()

func (*List) SelectorUp

func (l *List) SelectorUp()

type Tag

type Tag struct {
	Label    string
	ItemName string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳