results

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 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

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

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

func (*Model) View

func (x *Model) View() string

func (*Model) WrapWidth

func (x *Model) WrapWidth(width int)

type Option

type Option func(*Model)

func WithFormat

func WithFormat(f format.Format) Option

func WithLogger

func WithLogger(log zerolog.Logger) Option

func WithSpaced

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