logView

package
v1.0.50 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 9 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(options ...Option) *Model

func (*Model) Disable added in v1.0.39

func (m *Model) Disable()

func (*Model) Enable added in v1.0.39

func (m *Model) Enable()

func (*Model) Enabled added in v1.0.39

func (m *Model) Enabled() bool

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Resize added in v1.0.46

func (m *Model) Resize()

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

func (*Model) Write

func (m *Model) Write(p []byte) (n int, err error)

type Option

type Option = gn.Option[Model]

func WithAdditionalText added in v1.0.46

func WithAdditionalText(text string) Option

func WithEnabled added in v1.0.39

func WithEnabled(e bool) Option

func WithFollow added in v1.0.39

func WithFollow(f bool) Option

func WithMaxHeight added in v1.0.46

func WithMaxHeight(height int) Option

func WithVerticalOffset added in v1.0.39

func WithVerticalOffset(offset int) Option

Jump to

Keyboard shortcuts

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