Versions in this module Expand all Collapse all v0 v0.10.3 Feb 7, 2022 Changes in this version + var NewModel = New + func Blink() tea.Msg + func Paste() tea.Msg + type CursorMode int + const CursorBlink + const CursorHide + const CursorStatic + func (c CursorMode) String() string + type EchoMode int + const EchoNone + const EchoNormal + const EchoPassword + type Model struct + BackgroundStyle lipgloss.Style + BlinkSpeed time.Duration + CharLimit int + CursorStyle lipgloss.Style + EchoCharacter rune + EchoMode EchoMode + Err error + Placeholder string + PlaceholderStyle lipgloss.Style + Prompt string + PromptStyle lipgloss.Style + TextStyle lipgloss.Style + Width int + func New() Model + func (m *Model) Blur() + func (m *Model) CursorEnd() + func (m *Model) CursorStart() + func (m *Model) Focus() tea.Cmd + func (m *Model) Reset() bool + func (m *Model) SetCursor(pos int) + func (m *Model) SetCursorMode(mode CursorMode) tea.Cmd + func (m *Model) SetValue(s string) + func (m Model) Cursor() int + func (m Model) CursorMode() CursorMode + func (m Model) Focused() bool + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) Value() string + func (m Model) View() string