tui

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YAML format = iota
	JSON
	PARSED
)

Variables

This section is empty.

Functions

func Highlight

func Highlight(content, extension, syntaxTheme string) (string, error)

func NewModel

func NewModel(eventChan <-chan event.SaltEvent, maxItems int, filter string) model

func WordsFilter

func WordsFilter(term string, targets []string) []list.Rank

Filter via multiple fields and keywords.

Types

type Mode added in v0.4.0

type Mode int
const (
	Following Mode = iota
	Frozen
)

Jump to

Keyboard shortcuts

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