Versions in this module Expand all Collapse all v0 v0.7.8 Mar 7, 2021 Changes in this version + func Blink() tea.Msg + func Paste() tea.Msg + type EchoMode int + const EchoNone + const EchoNormal + const EchoPassword + type Model struct + BackgroundColor string + BlinkSpeed time.Duration + CharLimit int + Cursor string + CursorColor string + EchoCharacter rune + EchoMode EchoMode + Err error + Placeholder string + PlaceholderColor string + Prompt string + TextColor string + Width int + func NewModel() Model + func (m *Model) Blur() + func (m *Model) CursorEnd() bool + func (m *Model) CursorStart() bool + func (m *Model) Focus() + func (m *Model) Reset() bool + func (m *Model) SetCursor(pos int) bool + func (m *Model) SetValue(s string) + 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