SYMBOL INDEX (687 symbols across 71 files) FILE: accessor.go type Accessor (line 4) | type Accessor interface type EmbeddedAccessor (line 10) | type EmbeddedAccessor struct method Get (line 15) | func (a *EmbeddedAccessor[T]) Get() T { method Set (line 20) | func (a *EmbeddedAccessor[T]) Set(value T) { type PointerAccessor (line 25) | type PointerAccessor struct function NewPointerAccessor (line 30) | func NewPointerAccessor[T any](value *T) *PointerAccessor[T] { method Get (line 37) | func (a *PointerAccessor[T]) Get() T { method Set (line 42) | func (a *PointerAccessor[T]) Set(value T) { FILE: eval.go type Eval (line 14) | type Eval struct constant spinnerShowThreshold (line 26) | spinnerShowThreshold = 25 * time.Millisecond function hash (line 28) | func hash(val any) uint64 { method shouldUpdate (line 33) | func (e *Eval[T]) shouldUpdate() (bool, uint64) { method loadFromCache (line 41) | func (e *Eval[T]) loadFromCache() bool { method update (line 50) | func (e *Eval[T]) update(val T) { type updateTitleMsg (line 56) | type updateTitleMsg struct type updateDescriptionMsg (line 62) | type updateDescriptionMsg struct type updatePlaceholderMsg (line 68) | type updatePlaceholderMsg struct type updateSuggestionsMsg (line 74) | type updateSuggestionsMsg struct type updateOptionsMsg (line 80) | type updateOptionsMsg struct FILE: examples/accessibility-secure-input/main.go function validate (line 10) | func validate(s string) error { function main (line 17) | func main() { FILE: examples/accessibility/main.go function main (line 9) | func main() { FILE: examples/bubbletea-options/main.go function main (line 10) | func main() { FILE: examples/bubbletea/main.go constant maxWidth (line 14) | maxWidth = 80 type Styles (line 16) | type Styles struct function NewStyles (line 28) | func NewStyles(hasDarkBg bool) *Styles { type state (line 60) | type state constant statusNormal (line 63) | statusNormal state = iota constant stateDone (line 64) | stateDone type Model (line 67) | type Model struct method Init (line 114) | func (m Model) Init() tea.Cmd { method Update (line 125) | func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 158) | func (m Model) View() tea.View { method errorView (line 228) | func (m Model) errorView() string { method appBoundaryView (line 236) | func (m Model) appBoundaryView(text string) string { method appErrorBoundaryView (line 247) | func (m Model) appErrorBoundaryView(text string) string { method getRole (line 258) | func (m Model) getRole() (string, string) { function NewModel (line 75) | func NewModel() Model { function min (line 118) | func min(x, y int) int { function main (line 293) | func main() { FILE: examples/burger/main.go type Spice (line 17) | type Spice method String (line 25) | func (s Spice) String() string { constant Mild (line 20) | Mild Spice = iota + 1 constant Medium (line 21) | Medium constant Hot (line 22) | Hot type Order (line 38) | type Order struct type Burger (line 46) | type Burger struct function main (line 52) | func main() { FILE: examples/conditional/main.go type consumable (line 10) | type consumable method String (line 18) | func (c consumable) String() string { constant fruits (line 13) | fruits consumable = iota constant vegetables (line 14) | vegetables constant drinks (line 15) | drinks function main (line 22) | func main() { FILE: examples/dynamic/dynamic-all/main.go function main (line 10) | func main() { FILE: examples/dynamic/dynamic-bubbletea/main.go constant maxWidth (line 14) | maxWidth = 80 type Styles (line 16) | type Styles struct function NewStyles (line 28) | func NewStyles(hasDarkBg bool) *Styles { type state (line 60) | type state constant statusNormal (line 63) | statusNormal state = iota constant stateDone (line 64) | stateDone type Model (line 67) | type Model struct method Init (line 122) | func (m Model) Init() tea.Cmd { method Update (line 133) | func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 164) | func (m Model) View() tea.View { method errorView (line 234) | func (m Model) errorView() string { method appBoundaryView (line 242) | func (m Model) appBoundaryView(text string) string { method appErrorBoundaryView (line 253) | func (m Model) appErrorBoundaryView(text string) string { method getRole (line 264) | func (m Model) getRole() (string, string) { function NewModel (line 75) | func NewModel() Model { function min (line 126) | func min(x, y int) int { function main (line 299) | func main() { FILE: examples/dynamic/dynamic-count/main.go function main (line 12) | func main() { FILE: examples/dynamic/dynamic-country/main.go function main (line 11) | func main() { FILE: examples/dynamic/dynamic-increment/main.go function main (line 10) | func main() { FILE: examples/dynamic/dynamic-markdown/main.go function main (line 10) | func main() { FILE: examples/dynamic/dynamic-name/main.go function main (line 10) | func main() { FILE: examples/dynamic/dynamic-suggestions/main.go function main (line 11) | func main() { FILE: examples/filepicker-picking/main.go function main (line 9) | func main() { FILE: examples/filepicker/main.go function main (line 7) | func main() { FILE: examples/gh/create.go type Action (line 13) | type Action constant Cancel (line 16) | Cancel Action = iota constant Push (line 17) | Push constant Fork (line 18) | Fork constant Skip (line 19) | Skip function customTheme (line 24) | func customTheme(isDark bool) *huh.Styles { function main (line 31) | func main() { FILE: examples/git/main.go function main (line 14) | func main() { FILE: examples/gum/main.go function main (line 10) | func main() { FILE: examples/help/main.go function main (line 5) | func main() { FILE: examples/hide/main.go function main (line 9) | func main() { FILE: examples/layout/columns/main.go function main (line 5) | func main() { FILE: examples/layout/default/main.go function main (line 5) | func main() { FILE: examples/layout/grid/main.go function main (line 5) | func main() { FILE: examples/layout/stack/main.go function main (line 5) | func main() { FILE: examples/multiple-groups/main.go function main (line 10) | func main() { FILE: examples/readme/confirm/main.go function main (line 7) | func main() { FILE: examples/readme/input/main.go function isFood (line 9) | func isFood(_ string) error { function main (line 13) | func main() { FILE: examples/readme/main/main.go function checkForPlagiarism (line 10) | func checkForPlagiarism(s string) error { return nil } function isFood (line 13) | func isFood(s string) error { return nil } function validateName (line 16) | func validateName(s string) error { return nil } function main (line 18) | func main() { FILE: examples/readme/multiselect/main.go function main (line 5) | func main() { FILE: examples/readme/note/main.go function main (line 5) | func main() { FILE: examples/readme/select/main.go function main (line 5) | func main() { FILE: examples/readme/select/scroll/scroll.go type Pokemon (line 5) | type Pokemon struct method String (line 41) | func (p Pokemon) String() string { function main (line 45) | func main() { FILE: examples/readme/text/main.go function checkForPlagiarism (line 6) | func checkForPlagiarism(s string) error { return nil } function main (line 8) | func main() { FILE: examples/scroll/main.go function main (line 5) | func main() { FILE: examples/skip/main.go function main (line 7) | func main() { FILE: examples/spinner/accessible/main.go function main (line 11) | func main() { FILE: examples/spinner/context-and-action-and-error/main.go function main (line 12) | func main() { FILE: examples/spinner/context-and-action/main.go function main (line 13) | func main() { FILE: examples/spinner/context/main.go function main (line 11) | func main() { FILE: examples/spinner/loading/main.go function main (line 11) | func main() { FILE: examples/spinner/static/main.go function main (line 9) | func main() { FILE: examples/ssh-form/main.go constant host (line 24) | host = "localhost" constant port (line 25) | port = "2222" function main (line 28) | func main() { function customTheme (line 62) | func customTheme(hasDarkBg bool) *huh.Styles { function teaHandler (line 80) | func teaHandler(s ssh.Session) (tea.Model, []tea.ProgramOption) { type model (line 96) | type model struct method Init (line 102) | func (m model) Init() tea.Cmd { return m.form.Init() } method Update (line 104) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 129) | func (m model) View() tea.View { FILE: examples/stickers/main.go function main (line 7) | func main() { FILE: examples/theme/main.go function main (line 18) | func main() { FILE: examples/timer/main.go type mode (line 29) | type mode constant Initial (line 32) | Initial mode = iota constant Focusing (line 33) | Focusing constant Paused (line 34) | Paused constant Breaking (line 35) | Breaking type Model (line 38) | type Model struct method Init (line 53) | func (m Model) Init() tea.Cmd { method Update (line 65) | func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 131) | func (m Model) View() tea.View { constant tickInterval (line 57) | tickInterval = time.Second / 2 type tickMsg (line 59) | type tickMsg function tickCmd (line 61) | func tickCmd(t time.Time) tea.Msg { function customTheme (line 168) | func customTheme(isDark bool) *huh.Styles { function NewModel (line 178) | func NewModel() Model { function main (line 214) | func main() { FILE: field_confirm.go type Confirm (line 15) | type Confirm struct method Validate (line 58) | func (c *Confirm) Validate(validate func(bool) error) *Confirm { method Error (line 64) | func (c *Confirm) Error() error { method Skip (line 69) | func (*Confirm) Skip() bool { method Zoom (line 74) | func (*Confirm) Zoom() bool { method Affirmative (line 79) | func (c *Confirm) Affirmative(affirmative string) *Confirm { method Negative (line 85) | func (c *Confirm) Negative(negative string) *Confirm { method Value (line 91) | func (c *Confirm) Value(value *bool) *Confirm { method Accessor (line 96) | func (c *Confirm) Accessor(accessor Accessor[bool]) *Confirm { method Key (line 102) | func (c *Confirm) Key(key string) *Confirm { method Title (line 108) | func (c *Confirm) Title(title string) *Confirm { method TitleFunc (line 115) | func (c *Confirm) TitleFunc(f func() string, bindings any) *Confirm { method Description (line 122) | func (c *Confirm) Description(description string) *Confirm { method DescriptionFunc (line 129) | func (c *Confirm) DescriptionFunc(f func() string, bindings any) *Conf... method Inline (line 136) | func (c *Confirm) Inline(inline bool) *Confirm { method Focus (line 142) | func (c *Confirm) Focus() tea.Cmd { method Blur (line 148) | func (c *Confirm) Blur() tea.Cmd { method KeyBinds (line 155) | func (c *Confirm) KeyBinds() []key.Binding { method Init (line 160) | func (c *Confirm) Init() tea.Cmd { method Update (line 165) | func (c *Confirm) Update(msg tea.Msg) (Model, tea.Cmd) { method activeStyles (line 225) | func (c *Confirm) activeStyles() *FieldStyles { method View (line 237) | func (c *Confirm) View() string { method Run (line 299) | func (c *Confirm) Run() error { method RunAccessible (line 304) | func (c *Confirm) RunAccessible(w io.Writer, r io.Reader) error { method String (line 318) | func (c *Confirm) String() string { method WithTheme (line 326) | func (c *Confirm) WithTheme(theme Theme) Field { method WithKeyMap (line 335) | func (c *Confirm) WithKeyMap(k *KeyMap) Field { method WithWidth (line 341) | func (c *Confirm) WithWidth(width int) Field { method WithHeight (line 347) | func (c *Confirm) WithHeight(height int) Field { method WithPosition (line 353) | func (c *Confirm) WithPosition(p FieldPosition) Field { method WithButtonAlignment (line 361) | func (c *Confirm) WithButtonAlignment(p lipgloss.Position) *Confirm { method GetKey (line 367) | func (c *Confirm) GetKey() string { method GetValue (line 372) | func (c *Confirm) GetValue() any { function NewConfirm (line 44) | func NewConfirm() *Confirm { FILE: field_filepicker.go type FilePicker (line 20) | type FilePicker struct method CurrentDirectory (line 62) | func (f *FilePicker) CurrentDirectory(directory string) *FilePicker { method Cursor (line 71) | func (f *FilePicker) Cursor(cursor string) *FilePicker { method Picking (line 77) | func (f *FilePicker) Picking(v bool) *FilePicker { method ShowHidden (line 83) | func (f *FilePicker) ShowHidden(v bool) *FilePicker { method ShowSize (line 89) | func (f *FilePicker) ShowSize(v bool) *FilePicker { method ShowPermissions (line 95) | func (f *FilePicker) ShowPermissions(v bool) *FilePicker { method FileAllowed (line 101) | func (f *FilePicker) FileAllowed(v bool) *FilePicker { method DirAllowed (line 107) | func (f *FilePicker) DirAllowed(v bool) *FilePicker { method Value (line 113) | func (f *FilePicker) Value(value *string) *FilePicker { method Accessor (line 118) | func (f *FilePicker) Accessor(accessor Accessor[string]) *FilePicker { method Key (line 125) | func (f *FilePicker) Key(key string) *FilePicker { method Title (line 131) | func (f *FilePicker) Title(title string) *FilePicker { method Description (line 137) | func (f *FilePicker) Description(description string) *FilePicker { method AllowedTypes (line 144) | func (f *FilePicker) AllowedTypes(types []string) *FilePicker { method Height (line 151) | func (f *FilePicker) Height(height int) *FilePicker { method Validate (line 157) | func (f *FilePicker) Validate(validate func(string) error) *FilePicker { method Error (line 163) | func (f *FilePicker) Error() error { method Skip (line 168) | func (*FilePicker) Skip() bool { method Zoom (line 173) | func (f *FilePicker) Zoom() bool { method Focus (line 178) | func (f *FilePicker) Focus() tea.Cmd { method Blur (line 184) | func (f *FilePicker) Blur() tea.Cmd { method KeyBinds (line 192) | func (f *FilePicker) KeyBinds() []key.Binding { method Init (line 197) | func (f *FilePicker) Init() tea.Cmd { method Update (line 202) | func (f *FilePicker) Update(msg tea.Msg) (Model, tea.Cmd) { method activeStyles (line 245) | func (f *FilePicker) activeStyles() *FieldStyles { method renderTitle (line 256) | func (f *FilePicker) renderTitle() string { method renderDescription (line 262) | func (f FilePicker) renderDescription() string { method View (line 269) | func (f *FilePicker) View() string { method pickerView (line 283) | func (f *FilePicker) pickerView() string { method setPicking (line 294) | func (f *FilePicker) setPicking(v bool) { method Run (line 313) | func (f *FilePicker) Run() error { method RunAccessible (line 318) | func (f *FilePicker) RunAccessible(w io.Writer, r io.Reader) error { method WithTheme (line 363) | func (f *FilePicker) WithTheme(theme Theme) Field { method WithKeyMap (line 389) | func (f *FilePicker) WithKeyMap(k *KeyMap) Field { method WithWidth (line 407) | func (f *FilePicker) WithWidth(width int) Field { method WithHeight (line 413) | func (f *FilePicker) WithHeight(height int) Field { method WithPosition (line 430) | func (f *FilePicker) WithPosition(p FieldPosition) Field { method GetKey (line 438) | func (f *FilePicker) GetKey() string { method GetValue (line 443) | func (f *FilePicker) GetValue() any { function NewFilePicker (line 46) | func NewFilePicker() *FilePicker { constant fileSizeWidth (line 358) | fileSizeWidth = 7 constant paddingLeft (line 359) | paddingLeft = 2 FILE: field_input.go type Input (line 23) | type Input struct method Value (line 72) | func (i *Input) Value(value *string) *Input { method Accessor (line 77) | func (i *Input) Accessor(accessor Accessor[string]) *Input { method Key (line 84) | func (i *Input) Key(key string) *Input { method Title (line 92) | func (i *Input) Title(title string) *Input { method Description (line 101) | func (i *Input) Description(description string) *Input { method TitleFunc (line 114) | func (i *Input) TitleFunc(f func() string, bindings any) *Input { method DescriptionFunc (line 127) | func (i *Input) DescriptionFunc(f func() string, bindings any) *Input { method Prompt (line 134) | func (i *Input) Prompt(prompt string) *Input { method CharLimit (line 140) | func (i *Input) CharLimit(charlimit int) *Input { method Suggestions (line 149) | func (i *Input) Suggestions(suggestions []string) *Input { method SuggestionsFunc (line 166) | func (i *Input) SuggestionsFunc(f func() []string, bindings any) *Input { method EchoMode (line 194) | func (i *Input) EchoMode(mode EchoMode) *Input { method Password (line 202) | func (i *Input) Password(password bool) *Input { method Placeholder (line 212) | func (i *Input) Placeholder(str string) *Input { method PlaceholderFunc (line 218) | func (i *Input) PlaceholderFunc(f func() string, bindings any) *Input { method Inline (line 225) | func (i *Input) Inline(inline bool) *Input { method Validate (line 231) | func (i *Input) Validate(validate func(string) error) *Input { method Error (line 237) | func (i *Input) Error() error { return i.err } method Skip (line 240) | func (*Input) Skip() bool { return false } method Zoom (line 243) | func (*Input) Zoom() bool { return false } method Focus (line 246) | func (i *Input) Focus() tea.Cmd { method Blur (line 252) | func (i *Input) Blur() tea.Cmd { method KeyBinds (line 261) | func (i *Input) KeyBinds() []key.Binding { method Init (line 269) | func (i *Input) Init() tea.Cmd { method Update (line 275) | func (i *Input) Update(msg tea.Msg) (Model, tea.Cmd) { method activeStyles (line 368) | func (i *Input) activeStyles() *FieldStyles { method View (line 380) | func (i *Input) View() string { method Run (line 421) | func (i *Input) Run() error { method run (line 426) | func (i *Input) run() error { method RunAccessible (line 431) | func (i *Input) RunAccessible(w io.Writer, r io.Reader) error { method WithKeyMap (line 465) | func (i *Input) WithKeyMap(k *KeyMap) Field { method WithTheme (line 472) | func (i *Input) WithTheme(theme Theme) Field { method WithWidth (line 481) | func (i *Input) WithWidth(width int) Field { method WithHeight (line 496) | func (i *Input) WithHeight(height int) Field { method WithPosition (line 502) | func (i *Input) WithPosition(p FieldPosition) Field { method GetKey (line 510) | func (i *Input) GetKey() string { return i.key } method GetValue (line 513) | func (i *Input) GetValue() any { function NewInput (line 54) | func NewInput() *Input { type EchoMode (line 177) | type EchoMode constant EchoModeNormal (line 182) | EchoModeNormal EchoMode = EchoMode(textinput.EchoNormal) constant EchoModePassword (line 186) | EchoModePassword EchoMode = EchoMode(textinput.EchoPassword) constant EchoModeNone (line 190) | EchoModeNone EchoMode = EchoMode(textinput.EchoNone) FILE: field_multiselect.go type MultiSelect (line 22) | type MultiSelect struct function NewMultiSelect (line 56) | func NewMultiSelect[T comparable]() *MultiSelect[T] { method Value (line 77) | func (m *MultiSelect[T]) Value(value *[]T) *MultiSelect[T] { method Accessor (line 82) | func (m *MultiSelect[T]) Accessor(accessor Accessor[[]T]) *MultiSelect[T] { method Key (line 94) | func (m *MultiSelect[T]) Key(key string) *MultiSelect[T] { method Title (line 100) | func (m *MultiSelect[T]) Title(title string) *MultiSelect[T] { method TitleFunc (line 107) | func (m *MultiSelect[T]) TitleFunc(f func() string, bindings any) *Multi... method Description (line 114) | func (m *MultiSelect[T]) Description(description string) *MultiSelect[T] { method DescriptionFunc (line 120) | func (m *MultiSelect[T]) DescriptionFunc(f func() string, bindings any) ... method Options (line 127) | func (m *MultiSelect[T]) Options(options ...Option[T]) *MultiSelect[T] { method selectOptions (line 139) | func (m *MultiSelect[T]) selectOptions() { method OptionsFunc (line 160) | func (m *MultiSelect[T]) OptionsFunc(f func() []Option[T], bindings any)... method Filterable (line 177) | func (m *MultiSelect[T]) Filterable(filterable bool) *MultiSelect[T] { method Filtering (line 183) | func (m *MultiSelect[T]) Filtering(filtering bool) *MultiSelect[T] { method Limit (line 190) | func (m *MultiSelect[T]) Limit(limit int) *MultiSelect[T] { method Width (line 197) | func (m *MultiSelect[T]) Width(width int) *MultiSelect[T] { method Height (line 206) | func (m *MultiSelect[T]) Height(height int) *MultiSelect[T] { method Validate (line 215) | func (m *MultiSelect[T]) Validate(validate func([]T) error) *MultiSelect... method Error (line 221) | func (m *MultiSelect[T]) Error() error { method Skip (line 226) | func (*MultiSelect[T]) Skip() bool { method Zoom (line 231) | func (*MultiSelect[T]) Zoom() bool { method Focus (line 236) | func (m *MultiSelect[T]) Focus() tea.Cmd { method Blur (line 243) | func (m *MultiSelect[T]) Blur() tea.Cmd { method Hovered (line 252) | func (m *MultiSelect[T]) Hovered() (T, bool) { method KeyBinds (line 261) | func (m *MultiSelect[T]) KeyBinds() []key.Binding { method Init (line 288) | func (m *MultiSelect[T]) Init() tea.Cmd { method Update (line 293) | func (m *MultiSelect[T]) Update(msg tea.Msg) (Model, tea.Cmd) { method updateViewportSize (line 495) | func (m *MultiSelect[T]) updateViewportSize() { method numSelected (line 518) | func (m *MultiSelect[T]) numSelected() int { method numFilteredSelected (line 530) | func (m *MultiSelect[T]) numFilteredSelected() int { method updateValue (line 540) | func (m *MultiSelect[T]) updateValue() { method activeStyles (line 551) | func (m *MultiSelect[T]) activeStyles() *FieldStyles { method titleView (line 562) | func (m *MultiSelect[T]) titleView() string { method descriptionView (line 585) | func (m *MultiSelect[T]) descriptionView() string { method renderOption (line 593) | func (m *MultiSelect[T]) renderOption(option Option[T], cursor, selected... method cursorLineOffset (line 613) | func (m *MultiSelect[T]) cursorLineOffset() (offset int, height int) { method ensureCursorVisible (line 628) | func (m *MultiSelect[T]) ensureCursorVisible() { method optionsView (line 633) | func (m *MultiSelect[T]) optionsView() (string, int, int) { method View (line 667) | func (m *MultiSelect[T]) View() string { method printOptions (line 686) | func (m *MultiSelect[T]) printOptions(w io.Writer) { method setFilter (line 702) | func (m *MultiSelect[T]) setFilter(filter bool) { method filterFunc (line 713) | func (m *MultiSelect[T]) filterFunc(option string) bool { method setSelectAllHelp (line 719) | func (m *MultiSelect[T]) setSelectAllHelp() { method Run (line 734) | func (m *MultiSelect[T]) Run() error { method RunAccessible (line 739) | func (m *MultiSelect[T]) RunAccessible(w io.Writer, r io.Reader) error { method WithTheme (line 780) | func (m *MultiSelect[T]) WithTheme(theme Theme) Field { method WithKeyMap (line 799) | func (m *MultiSelect[T]) WithKeyMap(k *KeyMap) Field { method WithWidth (line 810) | func (m *MultiSelect[T]) WithWidth(width int) Field { method WithHeight (line 818) | func (m *MultiSelect[T]) WithHeight(height int) Field { method WithPosition (line 824) | func (m *MultiSelect[T]) WithPosition(p FieldPosition) Field { method GetKey (line 835) | func (m *MultiSelect[T]) GetKey() string { method GetValue (line 840) | func (m *MultiSelect[T]) GetValue() any { method GetFiltering (line 845) | func (m *MultiSelect[T]) GetFiltering() bool { FILE: field_note.go type Note (line 17) | type Note struct method Title (line 55) | func (n *Note) Title(title string) *Note { method TitleFunc (line 68) | func (n *Note) TitleFunc(f func() string, bindings any) *Note { method Description (line 77) | func (n *Note) Description(description string) *Note { method DescriptionFunc (line 101) | func (n *Note) DescriptionFunc(f func() string, bindings any) *Note { method Height (line 108) | func (n *Note) Height(height int) *Note { method Next (line 119) | func (n *Note) Next(show bool) *Note { method NextLabel (line 125) | func (n *Note) NextLabel(label string) *Note { method Focus (line 131) | func (n *Note) Focus() tea.Cmd { method Blur (line 137) | func (n *Note) Blur() tea.Cmd { method Error (line 143) | func (n *Note) Error() error { return nil } method Skip (line 146) | func (n *Note) Skip() bool { return n.skip } method Zoom (line 149) | func (n *Note) Zoom() bool { return false } method KeyBinds (line 152) | func (n *Note) KeyBinds() []key.Binding { method Init (line 161) | func (n *Note) Init() tea.Cmd { return nil } method Update (line 164) | func (n *Note) Update(msg tea.Msg) (Model, tea.Cmd) { method activeStyles (line 209) | func (n *Note) activeStyles() *FieldStyles { method View (line 221) | func (n *Note) View() string { method Run (line 245) | func (n *Note) Run() error { method RunAccessible (line 250) | func (n *Note) RunAccessible(w io.Writer, _ io.Reader) error { method WithTheme (line 262) | func (n *Note) WithTheme(theme Theme) Field { method WithKeyMap (line 271) | func (n *Note) WithKeyMap(k *KeyMap) Field { method WithWidth (line 277) | func (n *Note) WithWidth(width int) Field { method WithHeight (line 283) | func (n *Note) WithHeight(height int) Field { method WithPosition (line 289) | func (n *Note) WithPosition(p FieldPosition) Field { method GetValue (line 302) | func (n *Note) GetValue() any { return nil } method GetKey (line 305) | func (n *Note) GetKey() string { return "" } function NewNote (line 41) | func NewNote() *Note { function render (line 307) | func render(input string) string { FILE: field_select.go constant minHeight (line 21) | minHeight = 1 constant defaultHeight (line 22) | defaultHeight = 10 type Select (line 31) | type Select struct function NewSelect (line 66) | func NewSelect[T comparable]() *Select[T] { method Value (line 86) | func (s *Select[T]) Value(value *T) *Select[T] { method Accessor (line 91) | func (s *Select[T]) Accessor(accessor Accessor[T]) *Select[T] { method selectValue (line 98) | func (s *Select[T]) selectValue(value T) { method Key (line 109) | func (s *Select[T]) Key(key string) *Select[T] { method Title (line 117) | func (s *Select[T]) Title(title string) *Select[T] { method TitleFunc (line 130) | func (s *Select[T]) TitleFunc(f func() string, bindings any) *Select[T] { method Filtering (line 137) | func (s *Select[T]) Filtering(filtering bool) *Select[T] { method Description (line 146) | func (s *Select[T]) Description(description string) *Select[T] { method DescriptionFunc (line 158) | func (s *Select[T]) DescriptionFunc(f func() string, bindings any) *Sele... method Options (line 176) | func (s *Select[T]) Options(options ...Option[T]) *Select[T] { method selectOption (line 191) | func (s *Select[T]) selectOption() { method OptionsFunc (line 229) | func (s *Select[T]) OptionsFunc(f func() []Option[T], bindings any) *Sel... method Inline (line 242) | func (s *Select[T]) Inline(v bool) *Select[T] { method Height (line 256) | func (s *Select[T]) Height(height int) *Select[T] { method Validate (line 263) | func (s *Select[T]) Validate(validate func(T) error) *Select[T] { method Error (line 269) | func (s *Select[T]) Error() error { return s.err } method Skip (line 272) | func (*Select[T]) Skip() bool { return false } method Zoom (line 275) | func (*Select[T]) Zoom() bool { return false } method Focus (line 278) | func (s *Select[T]) Focus() tea.Cmd { method Blur (line 284) | func (s *Select[T]) Blur() tea.Cmd { method Hovered (line 298) | func (s *Select[T]) Hovered() (T, bool) { method KeyBinds (line 307) | func (s *Select[T]) KeyBinds() []key.Binding { method Init (line 323) | func (s *Select[T]) Init() tea.Cmd { method Update (line 328) | func (s *Select[T]) Update(msg tea.Msg) (Model, tea.Cmd) { method updateValue (line 515) | func (s *Select[T]) updateValue() { method updateViewportSize (line 523) | func (s *Select[T]) updateViewportSize() { method activeStyles (line 547) | func (s *Select[T]) activeStyles() *FieldStyles { method titleView (line 558) | func (s *Select[T]) titleView() string { method descriptionView (line 577) | func (s *Select[T]) descriptionView() string { method optionsView (line 585) | func (s *Select[T]) optionsView() (string, int, int) { method cursorLineOffset (line 640) | func (s *Select[T]) cursorLineOffset() (offset int, height int) { function ensureVisible (line 657) | func ensureVisible(vp *viewport.Model, offset, height int) { method ensureCursorVisible (line 670) | func (s *Select[T]) ensureCursorVisible() { method renderOption (line 675) | func (s *Select[T]) renderOption(option Option[T], selected bool) string { method View (line 700) | func (s *Select[T]) View() string { method clearFilter (line 718) | func (s *Select[T]) clearFilter() { method setFiltering (line 725) | func (s *Select[T]) setFiltering(filtering bool) { method filterFunc (line 736) | func (s *Select[T]) filterFunc(option string) bool { method Run (line 742) | func (s *Select[T]) Run() error { method RunAccessible (line 747) | func (s *Select[T]) RunAccessible(w io.Writer, r io.Reader) error { method WithTheme (line 782) | func (s *Select[T]) WithTheme(theme Theme) Field { method WithKeyMap (line 801) | func (s *Select[T]) WithKeyMap(k *KeyMap) Field { method WithWidth (line 811) | func (s *Select[T]) WithWidth(width int) Field { method WithHeight (line 818) | func (s *Select[T]) WithHeight(height int) Field { method WithPosition (line 823) | func (s *Select[T]) WithPosition(p FieldPosition) Field { method GetKey (line 834) | func (s *Select[T]) GetKey() string { return s.key } method GetValue (line 837) | func (s *Select[T]) GetValue() any { method GetFiltering (line 842) | func (s *Select[T]) GetFiltering() bool { FILE: field_text.go type Text (line 24) | type Text struct method Value (line 84) | func (t *Text) Value(value *string) *Text { method Accessor (line 89) | func (t *Text) Accessor(accessor Accessor[string]) *Text { method Key (line 96) | func (t *Text) Key(key string) *Text { method Title (line 104) | func (t *Text) Title(title string) *Text { method TitleFunc (line 117) | func (t *Text) TitleFunc(f func() string, bindings any) *Text { method Description (line 126) | func (t *Text) Description(description string) *Text { method DescriptionFunc (line 139) | func (t *Text) DescriptionFunc(f func() string, bindings any) *Text { method Lines (line 146) | func (t *Text) Lines(lines int) *Text { method CharLimit (line 152) | func (t *Text) CharLimit(charlimit int) *Text { method ShowLineNumbers (line 158) | func (t *Text) ShowLineNumbers(show bool) *Text { method Placeholder (line 166) | func (t *Text) Placeholder(str string) *Text { method PlaceholderFunc (line 178) | func (t *Text) PlaceholderFunc(f func() string, bindings any) *Text { method Validate (line 185) | func (t *Text) Validate(validate func(string) error) *Text { method ExternalEditor (line 191) | func (t *Text) ExternalEditor(enabled bool) *Text { method Editor (line 211) | func (t *Text) Editor(editor ...string) *Text { method EditorExtension (line 222) | func (t *Text) EditorExtension(extension string) *Text { method Error (line 228) | func (t *Text) Error() error { return t.err } method Skip (line 231) | func (*Text) Skip() bool { return false } method Zoom (line 234) | func (*Text) Zoom() bool { return false } method Focus (line 237) | func (t *Text) Focus() tea.Cmd { method Blur (line 243) | func (t *Text) Blur() tea.Cmd { method KeyBinds (line 252) | func (t *Text) KeyBinds() []key.Binding { method Init (line 260) | func (t *Text) Init() tea.Cmd { method Update (line 266) | func (t *Text) Update(msg tea.Msg) (Model, tea.Cmd) { method activeStyles (line 365) | func (t *Text) activeStyles() *FieldStyles { method View (line 377) | func (t *Text) View() string { method Run (line 414) | func (t *Text) Run() error { method RunAccessible (line 419) | func (t *Text) RunAccessible(w io.Writer, r io.Reader) error { method WithTheme (line 445) | func (t *Text) WithTheme(theme Theme) Field { method WithKeyMap (line 454) | func (t *Text) WithKeyMap(k *KeyMap) Field { method WithWidth (line 461) | func (t *Text) WithWidth(width int) Field { method WithHeight (line 468) | func (t *Text) WithHeight(height int) Field { method WithPosition (line 481) | func (t *Text) WithPosition(p FieldPosition) Field { method GetKey (line 489) | func (t *Text) GetKey() string { return t.key } method GetValue (line 492) | func (t *Text) GetValue() any { function NewText (line 56) | func NewText() *Text { constant defaultEditor (line 196) | defaultEditor = "nano" function getEditor (line 199) | func getEditor() (string, []string) { type updateValueMsg (line 257) | type updateValueMsg FILE: form.go constant defaultWidth (line 20) | defaultWidth = 80 function nextID (line 30) | func nextID() int { type FormState (line 41) | type FormState constant StateNormal (line 45) | StateNormal FormState = iota constant StateCompleted (line 48) | StateCompleted constant StateAborted (line 51) | StateAborted type Form (line 67) | type Form struct method WithAccessible (line 235) | func (f *Form) WithAccessible(accessible bool) *Form { method WithShowHelp (line 244) | func (f *Form) WithShowHelp(v bool) *Form { method WithShowErrors (line 256) | func (f *Form) WithShowErrors(v bool) *Form { method WithTheme (line 269) | func (f *Form) WithTheme(theme Theme) *Form { method WithKeyMap (line 284) | func (f *Form) WithKeyMap(keymap *KeyMap) *Form { method WithWidth (line 302) | func (f *Form) WithWidth(width int) *Form { method WithHeight (line 316) | func (f *Form) WithHeight(height int) *Form { method WithOutput (line 330) | func (f *Form) WithOutput(w io.Writer) *Form { method WithInput (line 338) | func (f *Form) WithInput(r io.Reader) *Form { method WithTimeout (line 345) | func (f *Form) WithTimeout(t time.Duration) *Form { method WithProgramOptions (line 351) | func (f *Form) WithProgramOptions(opts ...tea.ProgramOption) *Form { method WithViewHook (line 357) | func (f *Form) WithViewHook(hook compat.ViewHook) *Form { method WithLayout (line 365) | func (f *Form) WithLayout(layout Layout) *Form { method UpdateFieldPositions (line 371) | func (f *Form) UpdateFieldPositions() *Form { method Errors (line 432) | func (f *Form) Errors() []error { method Help (line 437) | func (f *Form) Help() help.Model { method KeyBinds (line 442) | func (f *Form) KeyBinds() []key.Binding { method Get (line 448) | func (f *Form) Get(key string) any { method GetString (line 453) | func (f *Form) GetString(key string) string { method GetInt (line 462) | func (f *Form) GetInt(key string) int { method GetBool (line 471) | func (f *Form) GetBool(key string) bool { method NextGroup (line 480) | func (f *Form) NextGroup() tea.Cmd { method PrevGroup (line 486) | func (f *Form) PrevGroup() tea.Cmd { method NextField (line 492) | func (f *Form) NextField() tea.Cmd { method PrevField (line 498) | func (f *Form) PrevField() tea.Cmd { method GetFocusedField (line 504) | func (f *Form) GetFocusedField() Field { method Init (line 509) | func (f *Form) Init() tea.Cmd { method Update (line 528) | func (f *Form) Update(msg tea.Msg) (Model, tea.Cmd) { method isGroupHidden (line 634) | func (f *Form) isGroupHidden(group *Group) bool { method getTheme (line 642) | func (f *Form) getTheme() *Styles { method styles (line 649) | func (f *Form) styles() FormStyles { method View (line 654) | func (f *Form) View() string { method Run (line 663) | func (f *Form) Run() error { method RunWithContext (line 668) | func (f *Form) RunWithContext(ctx context.Context) error { method run (line 687) | func (f *Form) run(ctx context.Context) error { method runAccessible (line 721) | func (f *Form) runAccessible(w io.Writer, r io.Reader) error { function NewForm (line 109) | func NewForm(groups ...*Group) *Form { type Field (line 143) | type Field interface type FieldPosition (line 193) | type FieldPosition struct method IsFirst (line 204) | func (p FieldPosition) IsFirst() bool { method IsLast (line 209) | func (p FieldPosition) IsLast() bool { type nextGroupMsg (line 214) | type nextGroupMsg struct type prevGroupMsg (line 217) | type prevGroupMsg struct function nextGroup (line 220) | func nextGroup() tea.Msg { function prevGroup (line 225) | func prevGroup() tea.Msg { FILE: group.go type Group (line 19) | type Group struct method Title (line 71) | func (g *Group) Title(title string) *Group { method Description (line 77) | func (g *Group) Description(description string) *Group { method WithShowHelp (line 83) | func (g *Group) WithShowHelp(show bool) *Group { method WithShowErrors (line 89) | func (g *Group) WithShowErrors(show bool) *Group { method WithTheme (line 95) | func (g *Group) WithTheme(t Theme) *Group { method WithKeyMap (line 109) | func (g *Group) WithKeyMap(k *KeyMap) *Group { method WithWidth (line 119) | func (g *Group) WithWidth(width int) *Group { method WithHeight (line 131) | func (g *Group) WithHeight(height int) *Group { method WithHide (line 146) | func (g *Group) WithHide(hide bool) *Group { method WithHideFunc (line 152) | func (g *Group) WithHideFunc(hideFunc func() bool) *Group { method Errors (line 158) | func (g *Group) Errors() []error { method Init (line 199) | func (g *Group) Init() tea.Cmd { method nextField (line 222) | func (g *Group) nextField() []tea.Cmd { method prevField (line 239) | func (g *Group) prevField() []tea.Cmd { method Update (line 256) | func (g *Group) Update(msg tea.Msg) (Model, tea.Cmd) { method getTheme (line 294) | func (g *Group) getTheme() *Styles { method styles (line 301) | func (g *Group) styles() GroupStyles { return g.getTheme().Group } method getContent (line 303) | func (g *Group) getContent() (int, string) { method buildView (line 329) | func (g *Group) buildView() { method Header (line 336) | func (g *Group) Header() string { method titleFooterHeight (line 349) | func (g *Group) titleFooterHeight() int { method rawHeight (line 361) | func (g *Group) rawHeight() int { method View (line 366) | func (g *Group) View() string { method Content (line 387) | func (g *Group) Content() string { method Footer (line 393) | func (g *Group) Footer() string { function NewGroup (line 48) | func NewGroup(fields ...Field) *Group { type updateFieldMsg (line 174) | type updateFieldMsg struct type nextFieldMsg (line 180) | type nextFieldMsg struct type prevFieldMsg (line 186) | type prevFieldMsg struct function NextField (line 189) | func NextField() tea.Msg { function PrevField (line 194) | func PrevField() tea.Msg { FILE: huh_test.go constant text (line 20) | text = "Huh" function TestForm (line 28) | func TestForm(t *testing.T) { function TestInput (line 280) | func TestInput(t *testing.T) { function TestPasteNotDuplicated (line 311) | func TestPasteNotDuplicated(t *testing.T) { function TestInlineInput (line 323) | func TestInlineInput(t *testing.T) { function TestText (line 364) | func TestText(t *testing.T) { function TestTextExternalEditorHidden (line 388) | func TestTextExternalEditorHidden(t *testing.T) { function TestConfirm (line 412) | func TestConfirm(t *testing.T) { function TestSelect (line 458) | func TestSelect(t *testing.T) { function doAllUpdates (line 521) | func doAllUpdates(f *Form, cmd tea.Cmd) { function TestSelectDynamic (line 539) | func TestSelectDynamic(t *testing.T) { function TestMultiSelect (line 620) | func TestMultiSelect(t *testing.T) { function TestMultiSelectFiltering (line 701) | func TestMultiSelectFiltering(t *testing.T) { function TestSelectPageNavigation (line 744) | func TestSelectPageNavigation(t *testing.T) { function TestFile (line 835) | func TestFile(t *testing.T) { function TestHideGroup (line 853) | func TestHideGroup(t *testing.T) { function TestHideGroupLastAndFirstGroupsNotHidden (line 898) | func TestHideGroupLastAndFirstGroupsNotHidden(t *testing.T) { function TestPrevGroup (line 935) | func TestPrevGroup(t *testing.T) { function TestNote (line 954) | func TestNote(t *testing.T) { function TestDynamicHelp (line 991) | func TestDynamicHelp(t *testing.T) { function TestSkip (line 1014) | func TestSkip(t *testing.T) { function TestTimeout (line 1061) | func TestTimeout(t *testing.T) { function TestAbort (line 1072) | func TestAbort(t *testing.T) { constant title (line 1090) | title = "A Title" constant description (line 1091) | description = "A Description" function TestNoTitleOrDescription (line 1150) | func TestNoTitleOrDescription(t *testing.T) { function TestTitleRowRender (line 1164) | func TestTitleRowRender(t *testing.T) { function TestDescriptionRowRender (line 1176) | func TestDescriptionRowRender(t *testing.T) { function TestGetFocusedField (line 1188) | func TestGetFocusedField(t *testing.T) { function formProgram (line 1207) | func formProgram() *Form { function batchUpdate (line 1214) | func batchUpdate(m Model, cmd tea.Cmd) Model { function codeKeypress (line 1228) | func codeKeypress(r rune) tea.KeyPressMsg { function keypress (line 1234) | func keypress(r rune) tea.KeyPressMsg { function typeText (line 1242) | func typeText[T Model](m T, s string) T { function TestAccessibleForm (line 1250) | func TestAccessibleForm(t *testing.T) { function TestAccessibleFields (line 1271) | func TestAccessibleFields(t *testing.T) { function TestInputPasswordAccessible (line 1533) | func TestInputPasswordAccessible(t *testing.T) { function requireEqual (line 1578) | func requireEqual[T comparable](tb testing.TB, a, b T) { function requireContains (line 1585) | func requireContains(tb testing.TB, s, subtr string) { function viewModel (line 1592) | func viewModel(m Model) string { return ansi.Strip(m.View()) } FILE: internal/accessibility/accessibility.go function atoi (line 17) | func atoi(s string) (int, error) { function PromptInt (line 29) | func PromptInt( function parseBool (line 63) | func parseBool(s string) (bool, error) { function PromptBool (line 83) | func PromptBool( function PromptPassword (line 108) | func PromptPassword( function PromptString (line 131) | func PromptString( function ptrToStr (line 167) | func ptrToStr[T any](t *T, fn func(t T) string) string { function boolToStr (line 174) | func boolToStr(b bool) string { FILE: internal/compat/model.go type Model (line 7) | type Model interface type ViewModel (line 17) | type ViewModel struct method Update (line 23) | func (w ViewModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 32) | func (w ViewModel) View() tea.View { FILE: internal/selector/selector.go type Selector (line 5) | type Selector struct function NewSelector (line 11) | func NewSelector[T any](items []T) *Selector[T] { method Append (line 18) | func (s *Selector[T]) Append(item T) { method Next (line 23) | func (s *Selector[T]) Next() { method Prev (line 30) | func (s *Selector[T]) Prev() { method OnFirst (line 37) | func (s *Selector[T]) OnFirst() bool { method OnLast (line 42) | func (s *Selector[T]) OnLast() bool { method Selected (line 47) | func (s *Selector[T]) Selected() T { method Index (line 52) | func (s *Selector[T]) Index() int { method Total (line 57) | func (s *Selector[T]) Total() int { method SetIndex (line 62) | func (s *Selector[T]) SetIndex(i int) { method Get (line 70) | func (s *Selector[T]) Get(i int) T { method Set (line 75) | func (s *Selector[T]) Set(i int, item T) { method Range (line 81) | func (s *Selector[T]) Range(f func(i int, item T) bool) { method ReverseRange (line 91) | func (s *Selector[T]) ReverseRange(f func(i int, item T) bool) { FILE: keymap.go type KeyMap (line 6) | type KeyMap struct type InputKeyMap (line 19) | type InputKeyMap struct type TextKeyMap (line 27) | type TextKeyMap struct type SelectKeyMap (line 36) | type SelectKeyMap struct type MultiSelectKeyMap (line 54) | type MultiSelectKeyMap struct type FilePickerKeyMap (line 73) | type FilePickerKeyMap struct type NoteKeyMap (line 90) | type NoteKeyMap struct type ConfirmKeyMap (line 97) | type ConfirmKeyMap struct function NewDefaultKeyMap (line 107) | func NewDefaultKeyMap() *KeyMap { FILE: layout.go type Layout (line 10) | type Layout interface function LayoutColumns (line 22) | func LayoutColumns(columns int) Layout { function LayoutGrid (line 27) | func LayoutGrid(rows int, columns int) Layout { type layoutDefault (line 31) | type layoutDefault struct method View (line 33) | func (l *layoutDefault) View(f *Form) string { method GroupWidth (line 37) | func (l *layoutDefault) GroupWidth(_ *Form, _ *Group, w int) int { type layoutColumns (line 41) | type layoutColumns struct method visibleGroups (line 45) | func (l *layoutColumns) visibleGroups(f *Form) []*Group { method View (line 67) | func (l *layoutColumns) View(f *Form) string { method GroupWidth (line 88) | func (l *layoutColumns) GroupWidth(_ *Form, _ *Group, w int) int { type layoutStack (line 92) | type layoutStack struct method View (line 94) | func (l *layoutStack) View(f *Form) string { method GroupWidth (line 107) | func (l *layoutStack) GroupWidth(_ *Form, _ *Group, w int) int { type layoutGrid (line 111) | type layoutGrid struct method visibleGroups (line 115) | func (l *layoutGrid) visibleGroups(f *Form) [][]*Group { method View (line 148) | func (l *layoutGrid) View(f *Form) string { method GroupWidth (line 167) | func (l *layoutGrid) GroupWidth(_ *Form, _ *Group, w int) int { FILE: option.go type Option (line 6) | type Option struct function NewOptions (line 13) | func NewOptions[T comparable](values ...T) []Option[T] { function NewOption (line 25) | func NewOption[T comparable](key string, value T) Option[T] { method Selected (line 30) | func (o Option[T]) Selected(selected bool) Option[T] { method String (line 36) | func (o Option[T]) String() string { FILE: run.go function Run (line 4) | func Run(field Field) error { FILE: spinner/spinner.go type Spinner (line 29) | type Spinner struct method Type (line 95) | func (s *Spinner) Type(t Type) *Spinner { method Title (line 101) | func (s *Spinner) Title(title string) *Spinner { method WithOutput (line 108) | func (s *Spinner) WithOutput(w io.Writer) *Spinner { method WithInput (line 116) | func (s *Spinner) WithInput(r io.Reader) *Spinner { method WithViewHook (line 123) | func (s *Spinner) WithViewHook(hook compat.ViewHook) *Spinner { method Action (line 129) | func (s *Spinner) Action(action func()) *Spinner { method ActionWithErr (line 141) | func (s *Spinner) ActionWithErr(action func(context.Context) error) *S... method Context (line 147) | func (s *Spinner) Context(ctx context.Context) *Spinner { method WithAccessible (line 153) | func (s *Spinner) WithAccessible(accessible bool) *Spinner { method WithTheme (line 170) | func (s *Spinner) WithTheme(theme Theme) *Spinner { method Init (line 180) | func (s *Spinner) Init() tea.Cmd { method Update (line 195) | func (s *Spinner) Update(msg tea.Msg) (Model, tea.Cmd) { method View (line 215) | func (s *Spinner) View() string { method Run (line 226) | func (s *Spinner) Run() error { method runAccessible (line 262) | func (s *Spinner) runAccessible(in io.Reader, out io.Writer) error { type Styles (line 45) | type Styles struct type Theme (line 50) | type Theme interface type ThemeFunc (line 55) | type ThemeFunc method Theme (line 58) | func (f ThemeFunc) Theme(isDark bool) *Styles { function ThemeDefault (line 63) | func ThemeDefault(isDark bool) *Styles { type Type (line 76) | type Type function New (line 159) | func New() *Spinner { type doneMsg (line 299) | type doneMsg struct FILE: spinner/spinner_test.go function TestNewSpinner (line 17) | func TestNewSpinner(t *testing.T) { function TestSpinnerType (line 27) | func TestSpinnerType(t *testing.T) { function TestSpinnerDifferentTypes (line 34) | func TestSpinnerDifferentTypes(t *testing.T) { function TestSpinnerView (line 41) | func TestSpinnerView(t *testing.T) { function TestSpinnerContextCancellation (line 50) | func TestSpinnerContextCancellation(t *testing.T) { function TestSpinnerContextCancellationWhileRunning (line 59) | func TestSpinnerContextCancellationWhileRunning(t *testing.T) { function TestSpinnerStyleMethods (line 70) | func TestSpinnerStyleMethods(t *testing.T) { function TestSpinnerInit (line 87) | func TestSpinnerInit(t *testing.T) { function TestSpinnerUpdate (line 96) | func TestSpinnerUpdate(t *testing.T) { function TestSpinnerSimple (line 119) | func TestSpinnerSimple(t *testing.T) { function TestSpinnerWithContextAndAction (line 125) | func TestSpinnerWithContextAndAction(t *testing.T) { function TestSpinnerWithActionError (line 132) | func TestSpinnerWithActionError(t *testing.T) { function exercise (line 139) | func exercise(t *testing.T, factory func() *Spinner, checker func(tb tes... function requireNoError (line 159) | func requireNoError(tb testing.TB, err error) { function requireErrorIs (line 166) | func requireErrorIs(target error) func(tb testing.TB, err error) { function requireContextCanceled (line 175) | func requireContextCanceled(tb testing.TB, err error) { type nilReader (line 185) | type nilReader struct method Read (line 188) | func (nilReader) Read([]byte) (int, error) { return 0, nil } FILE: theme.go type Theme (line 10) | type Theme interface type ThemeFunc (line 15) | type ThemeFunc method Theme (line 18) | func (f ThemeFunc) Theme(isDark bool) *Styles { type Styles (line 24) | type Styles struct type FormStyles (line 34) | type FormStyles struct type GroupStyles (line 39) | type GroupStyles struct type FieldStyles (line 46) | type FieldStyles struct type TextInputStyles (line 84) | type TextInputStyles struct constant buttonPaddingHorizontal (line 93) | buttonPaddingHorizontal = 2 constant buttonPaddingVertical (line 94) | buttonPaddingVertical = 0 function ThemeBase (line 99) | func ThemeBase(bool) *Styles { function ThemeCharm (line 139) | func ThemeCharm(isDark bool) *Styles { function ThemeDracula (line 189) | func ThemeDracula(isDark bool) *Styles { function ThemeBase16 (line 240) | func ThemeBase16(isDark bool) *Styles { function ThemeCatppuccin (line 285) | func ThemeCatppuccin(isDark bool) *Styles { FILE: validate.go function ValidateNotEmpty (line 9) | func ValidateNotEmpty() func(s string) error { function ValidateMinLength (line 19) | func ValidateMinLength(v int) func(s string) error { function ValidateMaxLength (line 29) | func ValidateMaxLength(v int) func(s string) error { function ValidateLength (line 39) | func ValidateLength(minl, maxl int) func(s string) error { function ValidateOneOf (line 49) | func ValidateOneOf(options ...string) func(string) error { FILE: wrap.go function wrap (line 5) | func wrap(s string, limit int) string { FILE: zz_resize_width_test.go function TestSelectWithWidthUpdatesViewportWidth (line 5) | func TestSelectWithWidthUpdatesViewportWidth(t *testing.T) { function TestMultiSelectWithWidthUpdatesViewportWidth (line 24) | func TestMultiSelectWithWidthUpdatesViewportWidth(t *testing.T) {