echobox

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WordWrap

func WordWrap(s string, lineLimit uint8) (result []string)

Types

type ClearMsg

type ClearMsg string

type EchoMsg

type EchoMsg struct {
	Message string
	Style   lipgloss.Style
}

type Model

type Model struct {
	Momentum *scroll.Momentum
	// contains filtered or unexported fields
}

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) Render

func (m *Model) Render() []string

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