filter

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterMsg

type FilterMsg []int

func (FilterMsg) IntSlice

func (f FilterMsg) IntSlice() []int

type Keymap added in v0.1.3

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

func (Keymap) FullHelp added in v0.1.3

func (k Keymap) FullHelp() [][]key.Binding

func (Keymap) ShortHelp added in v0.1.3

func (k Keymap) ShortHelp() []key.Binding

type Model

type Model struct {
	Keys Keymap
	// contains filtered or unexported fields
}

func New

func New(visibleLines func(func(string, int)), keymap config.Keymap) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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