textarea

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blink() tea.Msg

func DefaultStyles

func DefaultStyles(isDark bool) textarea.Styles

Types

type KeyMap

type KeyMap struct {
	textarea.KeyMap
}

func DefaultKeyMap

func DefaultKeyMap() KeyMap

func (KeyMap) FullHelp

func (k KeyMap) FullHelp() [][]key.Binding

func (KeyMap) ShortHelp

func (k KeyMap) ShortHelp() []key.Binding

type Model

type Model struct {
	*textarea.Model

	KeyMap KeyMap
	// contains filtered or unexported fields
}

func New

func New(placeholder string) Model

func (*Model) BindValue

func (m *Model) BindValue(value *string)

func (Model) Update

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

Jump to

Keyboard shortcuts

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