input

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	reactea.BasicComponent

	SetText func(string)
	// contains filtered or unexported fields
}

func New

func New() *Component

func (*Component) Init

func (c *Component) Init() tea.Cmd

func (*Component) Render

func (c *Component) Render(int, int) string

Here we are not using width and height, but you can! Using lipgloss styles for example

func (*Component) Update

func (c *Component) Update(msg tea.Msg) tea.Cmd

Jump to

Keyboard shortcuts

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