results

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

func New

func New(opts ...Option) Model

func (*Model) Height

func (x *Model) Height(height int)

func (*Model) MaxWrapWidth added in v0.4.0

func (x *Model) MaxWrapWidth(width int)

func (*Model) Push

func (x *Model) Push(val any)

func (*Model) PushMany

func (x *Model) PushMany(list *list.List)

func (*Model) Reset

func (x *Model) Reset()

func (*Model) Scroll added in v0.4.0

func (x *Model) Scroll(msg tea.Msg)

func (*Model) View

func (x *Model) View() string

func (*Model) WrapWidth added in v0.3.0

func (x *Model) WrapWidth(width int)

type Option added in v0.3.0

type Option func(*Model)

func WithFormat added in v0.3.0

func WithFormat(f format.Format) Option

func WithLogger added in v0.4.0

func WithLogger(log zerolog.Logger) Option

func WithSpaced added in v0.3.0

func WithSpaced(spaced bool) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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