body

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 8 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 {
	Height int
	Width  int
	// contains filtered or unexported fields
}

func New

func New(state *commit.State, h int) Model

func ToModel added in v0.4.0

func ToModel(m tea.Model, c tea.Cmd) (Model, tea.Cmd)

func (*Model) Blur

func (m *Model) Blur()

func (*Model) CursorStart added in v0.8.0

func (m *Model) CursorStart()

func (*Model) Focus

func (m *Model) Focus()

func (Model) Focused

func (m Model) Focused() bool

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) RawValue added in v0.8.0

func (m Model) RawValue() string

func (*Model) Reset added in v0.8.0

func (m *Model) Reset()

func (*Model) SetValue added in v0.8.0

func (m *Model) SetValue(str string)

func (Model) Update

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

func (Model) Value

func (m Model) Value() string

func (Model) View

func (m Model) View() string

type Styles

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

Jump to

Keyboard shortcuts

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