SYMBOL INDEX (1053 symbols across 108 files) FILE: clipboard.go type ClipboardMsg (line 5) | type ClipboardMsg struct method Clipboard (line 15) | func (e ClipboardMsg) Clipboard() byte { method String (line 20) | func (e ClipboardMsg) String() string { type setClipboardMsg (line 26) | type setClipboardMsg function SetClipboard (line 30) | func SetClipboard(s string) Cmd { type readClipboardMsg (line 38) | type readClipboardMsg struct function ReadClipboard (line 42) | func ReadClipboard() Msg { type setPrimaryClipboardMsg (line 48) | type setPrimaryClipboardMsg function SetPrimaryClipboard (line 54) | func SetPrimaryClipboard(s string) Cmd { type readPrimaryClipboardMsg (line 62) | type readPrimaryClipboardMsg struct function ReadPrimaryClipboard (line 68) | func ReadPrimaryClipboard() Msg { FILE: color.go type backgroundColorMsg (line 10) | type backgroundColorMsg struct function RequestBackgroundColor (line 13) | func RequestBackgroundColor() Msg { type foregroundColorMsg (line 18) | type foregroundColorMsg struct function RequestForegroundColor (line 21) | func RequestForegroundColor() Msg { type cursorColorMsg (line 26) | type cursorColorMsg struct function RequestCursorColor (line 29) | func RequestCursorColor() Msg { type ForegroundColorMsg (line 36) | type ForegroundColorMsg struct method String (line 39) | func (e ForegroundColorMsg) String() string { method IsDark (line 44) | func (e ForegroundColorMsg) IsDark() bool { type BackgroundColorMsg (line 67) | type BackgroundColorMsg struct method String (line 70) | func (e BackgroundColorMsg) String() string { method IsDark (line 75) | func (e BackgroundColorMsg) IsDark() bool { type CursorColorMsg (line 81) | type CursorColorMsg struct method String (line 84) | func (e CursorColorMsg) String() string { method IsDark (line 89) | func (e CursorColorMsg) IsDark() bool { FILE: commands.go function Batch (line 15) | func Batch(cmds ...Cmd) Cmd { type BatchMsg (line 21) | type BatchMsg function Sequence (line 25) | func Sequence(cmds ...Cmd) Cmd { type sequenceMsg (line 30) | type sequenceMsg function compactCmds (line 36) | func compactCmds[T ~[]Cmd](cmds []Cmd) Cmd { function Every (line 102) | func Every(duration time.Duration, fn func(time.Time) Msg) Cmd { function Tick (line 154) | func Tick(d time.Duration, fn func(time.Time) Msg) Cmd { type windowSizeMsg (line 166) | type windowSizeMsg struct function RequestWindowSize (line 173) | func RequestWindowSize() Msg { FILE: commands_test.go function TestEvery (line 8) | func TestEvery(t *testing.T) { function TestTick (line 18) | func TestTick(t *testing.T) { function TestBatch (line 28) | func TestBatch(t *testing.T) { function TestSequence (line 32) | func TestSequence(t *testing.T) { function testMultipleCommands (line 36) | func testMultipleCommands[T ~[]Cmd](t *testing.T, createFn func(cmd ...C... FILE: cursed_renderer.go type cursedRenderer (line 18) | type cursedRenderer struct method setLogger (line 52) | func (s *cursedRenderer) setLogger(logger uv.Logger) { method setOptimizations (line 59) | func (s *cursedRenderer) setOptimizations(hardTabs, backspace, mapnl b... method start (line 71) | func (s *cursedRenderer) start() { method close (line 142) | func (s *cursedRenderer) close() (err error) { method writeString (line 248) | func (s *cursedRenderer) writeString(str string) (int, error) { method flush (line 256) | func (s *cursedRenderer) flush(closing bool) error { method render (line 576) | func (s *cursedRenderer) render(v View) { method reset (line 584) | func (s *cursedRenderer) reset() { method setColorProfile (line 604) | func (s *cursedRenderer) setColorProfile(p colorprofile.Profile) { method resize (line 612) | func (s *cursedRenderer) resize(w, h int) { method clearScreen (line 627) | func (s *cursedRenderer) clearScreen() { method setSyncdUpdates (line 676) | func (s *cursedRenderer) setSyncdUpdates(syncd bool) { method setWidthMethod (line 683) | func (s *cursedRenderer) setWidthMethod(method ansi.Method) { method insertAbove (line 700) | func (s *cursedRenderer) insertAbove(str string) error { method onMouse (line 759) | func (s *cursedRenderer) onMouse(m MouseMsg) Cmd { function newCursedRenderer (line 40) | func newCursedRenderer(w io.Writer, env []string, width, height int) (s ... function reset (line 590) | func reset(s *cursedRenderer) { function enableAltScreen (line 638) | func enableAltScreen(s *cursedRenderer, enable bool, write bool) { function enterAltScreen (line 646) | func enterAltScreen(s *cursedRenderer, write bool) { function exitAltScreen (line 656) | func exitAltScreen(s *cursedRenderer, write bool) { function enableTextCursor (line 667) | func enableTextCursor(s *cursedRenderer, enable bool) { function setProgressBar (line 766) | func setProgressBar(s *cursedRenderer, pb *ProgressBar) { function viewEquals (line 790) | func viewEquals(a, b *View) bool { FILE: cursor.go type Position (line 4) | type Position struct type CursorPositionMsg (line 7) | type CursorPositionMsg struct type CursorShape (line 12) | type CursorShape constant CursorBlock (line 16) | CursorBlock CursorShape = iota constant CursorUnderline (line 17) | CursorUnderline constant CursorBar (line 18) | CursorBar type requestCursorPosMsg (line 22) | type requestCursorPosMsg struct function RequestCursorPosition (line 26) | func RequestCursorPosition() Msg { FILE: environ.go type EnvMsg (line 19) | type EnvMsg method Getenv (line 24) | func (msg EnvMsg) Getenv(key string) (v string) { method LookupEnv (line 32) | func (msg EnvMsg) LookupEnv(key string) (s string, v bool) { FILE: examples/altscreen-toggle/main.go type model (line 16) | type model struct method Init (line 22) | func (m model) Init() tea.Cmd { method Update (line 26) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 48) | func (m model) View() tea.View { function main (line 79) | func main() { FILE: examples/autocomplete/main.go function main (line 16) | func main() { type gotReposSuccessMsg (line 24) | type gotReposSuccessMsg type gotReposErrMsg (line 25) | type gotReposErrMsg type repo (line 28) | type repo struct constant reposURL (line 32) | reposURL = "https://api.github.com/orgs/charmbracelet/repos" function getRepos (line 34) | func getRepos() tea.Msg { type model (line 64) | type model struct method Init (line 118) | func (m model) Init() tea.Cmd { method Cursor (line 122) | func (m model) Cursor() *tea.Cursor { method Update (line 130) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 161) | func (m model) View() tea.View { method headerView (line 181) | func (m model) headerView() string { return "Enter a Charm™ repo:\n" } method footerView (line 182) | func (m model) footerView() string { return "\n" + m.help.View(m.keyma... type keymap (line 70) | type keymap struct method ShortHelp (line 74) | func (k keymap) ShortHelp() []key.Binding { method FullHelp (line 83) | func (k keymap) FullHelp() [][]key.Binding { function initialModel (line 87) | func initialModel() model { FILE: examples/canvas/main.go type model (line 12) | type model struct method Init (line 18) | func (m model) Init() tea.Cmd { method Update (line 22) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 39) | func (m model) View() tea.View { function newCard (line 68) | func newCard(str string) *lipgloss.Layer { function reverse (line 81) | func reverse[T any](s []T) []T { function main (line 90) | func main() { FILE: examples/capability/main.go type model (line 12) | type model struct method Init (line 20) | func (m model) Init() tea.Cmd { method Update (line 25) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 47) | func (m model) View() tea.View { function main (line 59) | func main() { function min (line 71) | func min(a, b int) int { FILE: examples/cellbuffer/main.go constant fps (line 18) | fps = 60 constant frequency (line 19) | frequency = 7.5 constant damping (line 20) | damping = 0.15 constant asterisk (line 21) | asterisk = "*" function drawEllipse (line 24) | func drawEllipse(cb *cellbuffer, xc, yc, rx, ry float64) { type cellbuffer (line 74) | type cellbuffer struct method init (line 79) | func (c *cellbuffer) init(w, h int) { method set (line 88) | func (c cellbuffer) set(x, y int) { method wipe (line 96) | func (c *cellbuffer) wipe() { method width (line 102) | func (c cellbuffer) width() int { method height (line 106) | func (c cellbuffer) height() int { method ready (line 114) | func (c cellbuffer) ready() bool { method String (line 118) | func (c cellbuffer) String() string { type frameMsg (line 129) | type frameMsg struct function animate (line 131) | func animate() tea.Cmd { type model (line 137) | type model struct method Init (line 145) | func (m model) Init() tea.Cmd { method Update (line 149) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 187) | func (m model) View() tea.View { function main (line 194) | func main() { FILE: examples/chat/main.go function main (line 18) | func main() { type model (line 25) | type model struct method Init (line 69) | func (m model) Init() tea.Cmd { method Update (line 73) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 113) | func (m model) View() tea.View { function initialModel (line 33) | func initialModel() model { FILE: examples/clickable/main.go type LayerHitMsg (line 16) | type LayerHitMsg struct constant maxDialogs (line 21) | maxDialogs = 999 type model (line 61) | type model struct method Init (line 72) | func (m model) Init() tea.Cmd { method Update (line 78) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 210) | func (m model) View() tea.View { method newDialog (line 261) | func (m *model) newDialog(x, y int) (d dialog) { method removeDialog (line 274) | func (m model) removeDialog(index int) []dialog { type dialog (line 288) | type dialog struct method buttonView (line 298) | func (d dialog) buttonView() string { method windowView (line 307) | func (d dialog) windowView() string { method view (line 319) | func (d dialog) view() *lipgloss.Layer { function main (line 342) | func main() { function clamp (line 361) | func clamp(n, min, max int) int { FILE: examples/clickable/words.go constant uncapitalized (line 9) | uncapitalized = " of a an and ’n’ " function nextRandomWord (line 41) | func nextRandomWord() string { function shuffleWords (line 53) | func shuffleWords() { function capitalize (line 61) | func capitalize(s string) string { function cycle (line 75) | func cycle(stack []string) []string { FILE: examples/colorprofile/main.go type model (line 15) | type model struct method Init (line 20) | func (m model) Init() tea.Cmd { method Update (line 28) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 39) | func (m model) View() tea.View { function main (line 46) | func main() { FILE: examples/composable-views/main.go type sessionState (line 26) | type sessionState constant defaultTime (line 29) | defaultTime = time.Minute constant timerView (line 30) | timerView sessionState = iota constant spinnerView (line 31) | spinnerView type mainModel (line 62) | type mainModel struct method Init (line 76) | func (m mainModel) Init() tea.Cmd { method Update (line 81) | func (m mainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 124) | func (m mainModel) View() tea.View { method currentFocusedModel (line 136) | func (m mainModel) currentFocusedModel() string { method Next (line 143) | func (m *mainModel) Next() { method resetSpinner (line 151) | func (m *mainModel) resetSpinner() { function newModel (line 69) | func newModel(timeout time.Duration) mainModel { function main (line 157) | func main() { FILE: examples/cursor-style/main.go type model (line 10) | type model struct method Init (line 15) | func (m model) Init() tea.Cmd { method Update (line 19) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 41) | func (m model) View() tea.View { method describeCursor (line 52) | func (m model) describeCursor() string { function main (line 73) | func main() { FILE: examples/debounce/main.go constant debounceDuration (line 21) | debounceDuration = time.Second type exitMsg (line 23) | type exitMsg type model (line 25) | type model struct method Init (line 29) | func (m model) Init() tea.Cmd { method Update (line 33) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 56) | func (m model) View() tea.View { function main (line 61) | func main() { FILE: examples/doom-fire/main.go type model (line 18) | type model struct method Init (line 26) | func (m model) Init() tea.Cmd { method Update (line 30) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 51) | func (m model) View() tea.View { method spreadFire (line 83) | func (m *model) spreadFire() { method spreadPixel (line 91) | func (m *model) spreadPixel(idx int) { type tickMsg (line 111) | type tickMsg function tick (line 113) | func tick() tea.Msg { function initialModel (line 118) | func initialModel() model { function main (line 128) | func main() { FILE: examples/exec/main.go type editorFinishedMsg (line 12) | type editorFinishedMsg struct function openEditor (line 14) | func openEditor() tea.Cmd { type model (line 22) | type model struct method Init (line 27) | func (m model) Init() tea.Cmd { method Update (line 31) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 52) | func (m model) View() tea.View { function main (line 63) | func main() { FILE: examples/eyes/main.go constant eyeWidth (line 17) | eyeWidth = 15 constant eyeHeight (line 18) | eyeHeight = 12 constant eyeSpacing (line 19) | eyeSpacing = 40 constant blinkFrames (line 22) | blinkFrames = 20 constant openTimeMin (line 23) | openTimeMin = 1000 constant openTimeMax (line 24) | openTimeMax = 4000 constant eyeChar (line 29) | eyeChar = "●" constant bgChar (line 30) | bgChar = " " type model (line 33) | type model struct method updateEyePositions (line 67) | func (m *model) updateEyePositions() { method Init (line 75) | func (m model) Init() tea.Cmd { method Update (line 85) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 125) | func (m model) View() tea.View { type tickMsg (line 44) | type tickMsg function main (line 46) | func main() { function initialModel (line 53) | func initialModel() model { function tickCmd (line 79) | func tickCmd() tea.Cmd { function drawEllipse (line 179) | func drawEllipse(canvas [][]string, x0, y0, rx, ry int) { FILE: examples/file-picker/main.go type model (line 14) | type model struct method Init (line 29) | func (m model) Init() tea.Cmd { method Update (line 33) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 66) | func (m model) View() tea.View { type clearErrorMsg (line 21) | type clearErrorMsg struct function clearErrorAfter (line 23) | func clearErrorAfter(t time.Duration) tea.Cmd { function main (line 85) | func main() { FILE: examples/focus-blur/main.go function main (line 11) | func main() { type model (line 21) | type model struct method Init (line 26) | func (m model) Init() tea.Cmd { method Update (line 30) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 48) | func (m model) View() tea.View { FILE: examples/fullscreen/main.go type model (line 14) | type model method Init (line 25) | func (m model) Init() tea.Cmd { method Update (line 29) | func (m model) Update(message tea.Msg) (tea.Model, tea.Cmd) { method View (line 48) | func (m model) View() tea.View { type tickMsg (line 16) | type tickMsg function main (line 18) | func main() { function tick (line 54) | func tick() tea.Cmd { FILE: examples/glamour/main.go constant content (line 14) | content = ` type example (line 55) | type example struct method Init (line 108) | func (e example) Init() tea.Cmd { method Update (line 112) | func (e example) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 128) | func (e example) View() tea.View { method helpView (line 132) | func (e example) helpView() string { function newExample (line 59) | func newExample(isDark bool) (*example, error) { function main (line 136) | func main() { FILE: examples/help/main.go type keyMap (line 16) | type keyMap struct method ShortHelp (line 27) | func (k keyMap) ShortHelp() []key.Binding { method FullHelp (line 33) | func (k keyMap) FullHelp() [][]key.Binding { type model (line 67) | type model struct method Init (line 83) | func (m model) Init() tea.Cmd { method Update (line 87) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 115) | func (m model) View() tea.View { function newModel (line 75) | func newModel() model { function main (line 133) | func main() { FILE: examples/http/main.go constant url (line 14) | url = "https://charm.sh/" type model (line 16) | type model struct method Init (line 34) | func (m model) Init() tea.Cmd { method Update (line 38) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 61) | func (m model) View() tea.View { type statusMsg (line 21) | type statusMsg type errMsg (line 23) | type errMsg struct method Error (line 25) | func (e errMsg) Error() string { return e.error.Error() } function main (line 27) | func main() { function checkServer (line 71) | func checkServer() tea.Msg { FILE: examples/isbn-form/main.go function main (line 15) | func main() { type errMsg (line 24) | type errMsg type model (line 34) | type model struct method canFindBook (line 42) | func (m model) canFindBook() bool { method Init (line 155) | func (m model) Init() tea.Cmd { method Update (line 159) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 199) | func (m model) View() tea.View { function isbn13Validator (line 50) | func isbn13Validator(s string) error { function bookTitleValidator (line 114) | func bookTitleValidator(s string) error { function initialModel (line 130) | func initialModel() model { FILE: examples/keyboard-enhancements/main.go type styles (line 15) | type styles struct type model (line 19) | type model struct method Init (line 25) | func (m model) Init() tea.Cmd { method Update (line 29) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 68) | func (m model) View() tea.View { method updateStyles (line 85) | func (m *model) updateStyles(isDark bool) { function initialModel (line 97) | func initialModel() model { function main (line 103) | func main() { FILE: examples/list-default/main.go type item (line 14) | type item struct method Title (line 18) | func (i item) Title() string { return i.title } method Description (line 19) | func (i item) Description() string { return i.desc } method FilterValue (line 20) | func (i item) FilterValue() string { return i.title } type model (line 22) | type model struct method Init (line 26) | func (m model) Init() tea.Cmd { method Update (line 30) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 46) | func (m model) View() tea.View { function main (line 52) | func main() { FILE: examples/list-fancy/delegate.go function newItemDelegate (line 9) | func newItemDelegate(keys *delegateKeyMap, styles *styles) list.DefaultD... type delegateKeyMap (line 53) | type delegateKeyMap struct method ShortHelp (line 60) | func (d delegateKeyMap) ShortHelp() []key.Binding { method FullHelp (line 69) | func (d delegateKeyMap) FullHelp() [][]key.Binding { function newDelegateKeyMap (line 78) | func newDelegateKeyMap() *delegateKeyMap { FILE: examples/list-fancy/main.go type styles (line 14) | type styles struct function newStyles (line 20) | func newStyles(darkBG bool) styles { type item (line 35) | type item struct method Title (line 40) | func (i item) Title() string { return i.title } method Description (line 41) | func (i item) Description() string { return i.description } method FilterValue (line 42) | func (i item) FilterValue() string { return i.title } type listKeyMap (line 44) | type listKeyMap struct function newListKeyMap (line 53) | func newListKeyMap() *listKeyMap { type model (line 82) | type model struct method Init (line 93) | func (m model) Init() tea.Cmd { method updateListProperties (line 99) | func (m *model) updateListProperties() { method Update (line 109) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 172) | func (m model) View() tea.View { function initialModel (line 178) | func initialModel() model { function main (line 218) | func main() { FILE: examples/list-fancy/randomitems.go type randomItemGenerator (line 8) | type randomItemGenerator struct method reset (line 17) | func (r *randomItemGenerator) reset() { method next (line 140) | func (r *randomItemGenerator) next() item { FILE: examples/list-simple/main.go constant listHeight (line 14) | listHeight = 14 type styles (line 16) | type styles struct function newStyles (line 25) | func newStyles(darkBG bool) styles { type item (line 36) | type item method FilterValue (line 38) | func (i item) FilterValue() string { return "" } type itemDelegate (line 40) | type itemDelegate struct method Height (line 44) | func (d itemDelegate) Height() int { retur... method Spacing (line 45) | func (d itemDelegate) Spacing() int { retur... method Update (line 46) | func (d itemDelegate) Update(_ tea.Msg, _ *list.Model) tea.Cmd { retur... method Render (line 47) | func (d itemDelegate) Render(w io.Writer, m list.Model, index int, lis... type model (line 65) | type model struct method updateStyles (line 98) | func (m *model) updateStyles(isDark bool) { method Init (line 106) | func (m model) Init() tea.Cmd { method Update (line 110) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 136) | func (m model) View() tea.View { function initialModel (line 72) | func initialModel() model { function main (line 146) | func main() { FILE: examples/mouse/main.go function main (line 12) | func main() { type model (line 19) | type model struct method Init (line 21) | func (m model) Init() tea.Cmd { method Update (line 25) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 40) | func (m model) View() tea.View { FILE: examples/package-manager/main.go type model (line 16) | type model struct method Init (line 47) | func (m model) Init() tea.Cmd { method Update (line 51) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 92) | func (m model) View() tea.View { function newModel (line 32) | func newModel() model { type installedPkgMsg (line 115) | type installedPkgMsg function downloadAndInstall (line 117) | func downloadAndInstall(pkg string) tea.Cmd { function main (line 126) | func main() { FILE: examples/package-manager/packages.go function getPackages (line 40) | func getPackages() []string { FILE: examples/pager/main.go type model (line 31) | type model struct method Init (line 37) | func (m model) Init() tea.Cmd { method Update (line 41) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 94) | func (m model) View() tea.View { method headerView (line 106) | func (m model) headerView() string { method footerView (line 112) | func (m model) footerView() string { function main (line 118) | func main() { FILE: examples/paginator/main.go type styles (line 17) | type styles struct function newStyles (line 22) | func newStyles(bgIsDark bool) (s styles) { type model (line 30) | type model struct method updateStyles (line 56) | func (m *model) updateStyles(isDark bool) { method Init (line 62) | func (m model) Init() tea.Cmd { method Update (line 66) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 82) | func (m model) View() tea.View { function newModel (line 35) | func newModel() model { function main (line 94) | func main() { FILE: examples/pipe/main.go function main (line 20) | func main() { type model (line 54) | type model struct method Init (line 75) | func (m model) Init() tea.Cmd { method Update (line 79) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 92) | func (m model) View() tea.View { function newModel (line 58) | func newModel(initialValue string) (m model) { FILE: examples/prevent-quit/main.go function main (line 22) | func main() { function filter (line 30) | func filter(teaModel tea.Model, msg tea.Msg) tea.Msg { type model (line 43) | type model struct method Init (line 78) | func (m model) Init() tea.Cmd { method Update (line 82) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method updateTextView (line 90) | func (m model) updateTextView(msg tea.Msg) (tea.Model, tea.Cmd) { method updatePromptView (line 120) | func (m model) updatePromptView(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 134) | func (m model) View() tea.View { type keymap (line 52) | type keymap struct function initialModel (line 57) | func initialModel() model { FILE: examples/print-key/main.go type model (line 9) | type model struct method Init (line 11) | func (m model) Init() tea.Cmd { method Update (line 15) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 40) | func (m model) View() tea.View { function main (line 46) | func main() { FILE: examples/progress-animated/main.go constant padding (line 22) | padding = 2 constant maxWidth (line 23) | maxWidth = 80 function main (line 28) | func main() { type tickMsg (line 39) | type tickMsg type model (line 41) | type model struct method Init (line 45) | func (m model) Init() tea.Cmd { method Update (line 49) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 82) | func (m model) View() tea.View { function tickCmd (line 89) | func tickCmd() tea.Cmd { FILE: examples/progress-bar/main.go type model (line 12) | type model struct method Init (line 18) | func (m model) Init() tea.Cmd { method Update (line 22) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 51) | func (m model) View() tea.View { function main (line 60) | func main() { FILE: examples/progress-download/main.go type progressWriter (line 18) | type progressWriter struct method Start (line 26) | func (pw *progressWriter) Start() { method Write (line 34) | func (pw *progressWriter) Write(p []byte) (int, error) { function getResponse (line 42) | func getResponse(url string) (*http.Response, error) { function main (line 53) | func main() { FILE: examples/progress-download/tui.go constant padding (line 15) | padding = 2 constant maxWidth (line 16) | maxWidth = 80 type progressMsg (line 19) | type progressMsg type progressErrMsg (line 21) | type progressErrMsg struct function finalPause (line 23) | func finalPause() tea.Cmd { type model (line 29) | type model struct method Init (line 35) | func (m model) Init() tea.Cmd { method Update (line 39) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 76) | func (m model) View() tea.View { FILE: examples/progress-static/main.go constant padding (line 31) | padding = 2 constant maxWidth (line 32) | maxWidth = 80 function main (line 41) | func main() { type tickMsg (line 50) | type tickMsg type model (line 52) | type model struct method Init (line 57) | func (m model) Init() tea.Cmd { method Update (line 61) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 86) | func (m model) View() tea.View { function tickCmd (line 93) | func tickCmd() tea.Cmd { FILE: examples/query-term/main.go function newModel (line 18) | func newModel() model { type model (line 27) | type model struct method Init (line 32) | func (m model) Init() tea.Cmd { method Update (line 36) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 85) | func (m model) View() tea.View { function main (line 97) | func main() { FILE: examples/realtime/main.go type responseMsg (line 18) | type responseMsg struct function listenForActivity (line 24) | func listenForActivity(sub chan struct{}) tea.Cmd { function waitForActivity (line 34) | func waitForActivity(sub chan struct{}) tea.Cmd { type model (line 40) | type model struct method Init (line 47) | func (m model) Init() tea.Cmd { method Update (line 55) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 72) | func (m model) View() tea.View { function main (line 80) | func main() { FILE: examples/result/main.go type model (line 16) | type model struct method Init (line 21) | func (m model) Init() tea.Cmd { method Update (line 25) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 54) | func (m model) View() tea.View { function main (line 72) | func main() { FILE: examples/send-msg/main.go type resultMsg (line 26) | type resultMsg struct method String (line 31) | func (r resultMsg) String() string { type model (line 39) | type model struct method Init (line 55) | func (m model) Init() tea.Cmd { method Update (line 59) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 76) | func (m model) View() tea.View { function newModel (line 45) | func newModel() model { function main (line 104) | func main() { function randomFood (line 126) | func randomFood() string { FILE: examples/sequence/main.go type model (line 13) | type model struct method Init (line 15) | func (m model) Init() tea.Cmd { method Update (line 54) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 62) | func (m model) View() tea.View { function SleepPrintln (line 46) | func SleepPrintln(s string, milisecond int) tea.Cmd { function main (line 66) | func main() { FILE: examples/set-terminal-color/main.go type colorType (line 14) | type colorType method String (line 22) | func (c colorType) String() string { constant foreground (line 17) | foreground colorType = iota + 1 constant background (line 18) | background constant cursor (line 19) | cursor type state (line 35) | type state constant chooseState (line 38) | chooseState state = iota constant inputState (line 39) | inputState type model (line 42) | type model struct method Init (line 51) | func (m model) Init() tea.Cmd { method Update (line 55) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 137) | func (m model) View() tea.View { function main (line 187) | func main() { FILE: examples/set-window-title/main.go constant windowTitle (line 13) | windowTitle = "Hello, Bubble Tea" type model (line 15) | type model struct method Init (line 17) | func (m model) Init() tea.Cmd { method Update (line 21) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 29) | func (m model) View() tea.View { function main (line 37) | func main() { FILE: examples/simple/main.go function main (line 14) | func main() { type model (line 34) | type model method Init (line 38) | func (m model) Init() tea.Cmd { method Update (line 45) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 67) | func (m model) View() tea.View { type tickMsg (line 73) | type tickMsg function tick (line 75) | func tick() tea.Msg { FILE: examples/space/main.go type model (line 20) | type model struct method Init (line 29) | func (m model) Init() tea.Cmd { method Update (line 43) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method setupColors (line 68) | func (m *model) setupColors() { method View (line 98) | func (m model) View() tea.View { function tickCmd (line 35) | func tickCmd() tea.Cmd { type tickMsg (line 41) | type tickMsg struct function clamp (line 88) | func clamp(value, min, max float64) float64 { function main (line 126) | func main() { FILE: examples/spinner/main.go type errMsg (line 15) | type errMsg type model (line 17) | type model struct method Init (line 30) | func (m model) Init() tea.Cmd { method Update (line 34) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 56) | func (m model) View() tea.View { function initialModel (line 23) | func initialModel() model { function main (line 67) | func main() { FILE: examples/spinners/main.go function main (line 31) | func main() { type model (line 41) | type model struct method Init (line 46) | func (m model) Init() tea.Cmd { method Update (line 50) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method resetSpinner (line 82) | func (m *model) resetSpinner() { method View (line 88) | func (m model) View() tea.View { FILE: examples/splash/main.go type model (line 34) | type model struct method Init (line 40) | func (m model) Init() tea.Cmd { method Update (line 44) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 57) | func (m model) View() tea.View { method gradient (line 69) | func (m model) gradient() string { function getGradientColor (line 120) | func getGradientColor(position float64) color.Color { function interpolateColors (line 149) | func interpolateColors(color1, color2 color.Color, t float64) color.Color { type tickMsg (line 164) | type tickMsg function tick (line 166) | func tick() tea.Msg { function main (line 170) | func main() { FILE: examples/split-editors/main.go constant initialInputs (line 15) | initialInputs = 2 constant maxInputs (line 16) | maxInputs = 6 constant minInputs (line 17) | minInputs = 1 constant helpHeight (line 18) | helpHeight = 5 function newTextarea (line 49) | func newTextarea() textarea.Model { type model (line 75) | type model struct method Init (line 119) | func (m model) Init() tea.Cmd { method Update (line 123) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method sizeInputs (line 176) | func (m *model) sizeInputs() { method updateKeybindings (line 183) | func (m *model) updateKeybindings() { method inputViews (line 188) | func (m model) inputViews() []string { method View (line 196) | func (m model) View() tea.View { method Cursor (line 210) | func (m model) Cursor() *tea.Cursor { function newModel (line 84) | func newModel() model { function main (line 230) | func main() { FILE: examples/stopwatch/main.go type model (line 14) | type model struct method Init (line 28) | func (m model) Init() tea.Cmd { method View (line 32) | func (m model) View() tea.View { method helpView (line 44) | func (m model) helpView() string { method Update (line 53) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { type keymap (line 21) | type keymap struct function main (line 73) | func main() { FILE: examples/suspend/main.go type model (line 11) | type model struct method Init (line 16) | func (m model) Init() tea.Cmd { method Update (line 20) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 41) | func (m model) View() tea.View { function main (line 49) | func main() { FILE: examples/table-resize/main.go constant None (line 15) | None = "" constant Bug (line 16) | Bug = "Bug" constant Electric (line 17) | Electric = "Electric" constant Fire (line 18) | Fire = "Fire" constant Flying (line 19) | Flying = "Flying" constant Grass (line 20) | Grass = "Grass" constant Ground (line 21) | Ground = "Ground" constant Normal (line 22) | Normal = "Normal" constant Poison (line 23) | Poison = "Poison" constant Water (line 24) | Water = "Water" type model (line 27) | type model struct method Init (line 31) | func (m model) Init() tea.Cmd { return nil } method Update (line 33) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 49) | func (m model) View() tea.View { function main (line 55) | func main() { FILE: examples/table/main.go type model (line 16) | type model struct method Init (line 20) | func (m model) Init() tea.Cmd { return nil } method Update (line 22) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 45) | func (m model) View() tea.View { function main (line 49) | func main() { FILE: examples/tabs/main.go type styles (line 12) | type styles struct function newStyles (line 20) | func newStyles(bgIsDark bool) *styles { type model (line 45) | type model struct method Init (line 52) | func (m model) Init() tea.Cmd { method Update (line 56) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 82) | func (m model) View() tea.View { function tabBorderWithBottom (line 74) | func tabBorderWithBottom(left, middle, right string) lipgloss.Border { function main (line 121) | func main() { FILE: examples/textarea/main.go function main (line 15) | func main() { type errMsg (line 23) | type errMsg type model (line 25) | type model struct method Init (line 43) | func (m model) Init() tea.Cmd { method Update (line 47) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method headerView (line 82) | func (m model) headerView() string { method View (line 86) | func (m model) View() tea.View { function initialModel (line 30) | func initialModel() model { FILE: examples/textinput/main.go function main (line 14) | func main() { type errMsg (line 22) | type errMsg type model (line 25) | type model struct method Init (line 42) | func (m model) Init() tea.Cmd { method Update (line 46) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 62) | func (m model) View() tea.View { method headerView (line 79) | func (m model) headerView() string { return "What’s your favorite Poké... method footerView (line 80) | func (m model) footerView() string { return "\n(esc to quit)" } function initialModel (line 31) | func initialModel() model { FILE: examples/textinputs/main.go type model (line 29) | type model struct method Init (line 73) | func (m model) Init() tea.Cmd { method Update (line 77) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method updateInputs (line 143) | func (m *model) updateInputs(msg tea.Msg) tea.Cmd { method View (line 155) | func (m model) View() tea.View { function initialModel (line 36) | func initialModel() model { function main (line 191) | func main() { FILE: examples/timer/main.go constant timeout (line 14) | timeout = time.Second * 5 type model (line 16) | type model struct method Init (line 30) | func (m model) Init() tea.Cmd { method Update (line 34) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method helpView (line 67) | func (m model) helpView() string { method View (line 76) | func (m model) View() tea.View { type keymap (line 23) | type keymap struct function main (line 93) | func main() { FILE: examples/tui-daemon-combo/main.go function main (line 23) | func main() { type result (line 54) | type result struct type model (line 59) | type model struct method Init (line 77) | func (m model) Init() tea.Cmd { method Update (line 85) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 105) | func (m model) View() tea.View { function newModel (line 65) | func newModel() model { type processFinishedMsg (line 127) | type processFinishedMsg function runPretendProcess (line 130) | func runPretendProcess() tea.Msg { function randomEmoji (line 136) | func randomEmoji() string { FILE: examples/vanish/main.go type model (line 10) | type model method Init (line 12) | func (m model) Init() tea.Cmd { method Update (line 16) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 24) | func (m model) View() tea.View { function main (line 31) | func main() { FILE: examples/views/main.go constant progressBarWidth (line 23) | progressBarWidth = 71 constant progressFullChar (line 24) | progressFullChar = "█" constant progressEmptyChar (line 25) | progressEmptyChar = "░" constant dotChar (line 26) | dotChar = " • " function main (line 43) | func main() { type tickMsg (line 52) | type tickMsg struct type frameMsg (line 53) | type frameMsg struct function tick (line 56) | func tick() tea.Cmd { function frame (line 62) | func frame() tea.Cmd { type model (line 68) | type model struct method Init (line 78) | func (m model) Init() tea.Cmd { method Update (line 83) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 102) | func (m model) View() tea.View { function updateChoices (line 118) | func updateChoices(msg tea.Msg, m model) (tea.Model, tea.Cmd) { function updateChosen (line 150) | func updateChosen(msg tea.Msg, m model) (tea.Model, tea.Cmd) { function choicesView (line 182) | func choicesView(m model) string { function chosenView (line 204) | func chosenView(m model) string { function checkbox (line 226) | func checkbox(label string, checked bool) string { function progressbar (line 233) | func progressbar(percent float64) string { function makeRampStyles (line 251) | func makeRampStyles(colorA, colorB string, steps float64) (s []lipgloss.... function colorToHex (line 263) | func colorToHex(c colorful.Color) string { function colorFloatToHex (line 269) | func colorFloatToHex(f float64) (s string) { FILE: examples/window-size/main.go function main (line 11) | func main() { type model (line 18) | type model struct method Init (line 20) | func (m model) Init() tea.Cmd { method Update (line 24) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 39) | func (m model) View() tea.View { FILE: exec.go type execMsg (line 10) | type execMsg struct function Exec (line 22) | func Exec(c ExecCommand, fn ExecCallback) Cmd { function ExecProcess (line 50) | func ExecProcess(c *exec.Cmd, fn ExecCallback) Cmd { type ExecCallback (line 56) | type ExecCallback type ExecCommand (line 60) | type ExecCommand interface function wrapExecCommand (line 69) | func wrapExecCommand(c *exec.Cmd) ExecCommand { type osExecCommand (line 75) | type osExecCommand struct method SetStdin (line 78) | func (c *osExecCommand) SetStdin(r io.Reader) { method SetStdout (line 86) | func (c *osExecCommand) SetStdout(w io.Writer) { method SetStderr (line 94) | func (c *osExecCommand) SetStderr(w io.Writer) { method exec (line 102) | func (p *Program) exec(c ExecCommand, fn ExecCallback) { FILE: exec_test.go type execFinishedMsg (line 10) | type execFinishedMsg struct type testExecModel (line 12) | type testExecModel struct method Init (line 17) | func (m *testExecModel) Init() Cmd { method Update (line 24) | func (m *testExecModel) Update(msg Msg) (Model, Cmd) { method View (line 36) | func (m *testExecModel) View() View { type spyRenderer (line 40) | type spyRenderer struct function TestTeaExec (line 45) | func TestTeaExec(t *testing.T) { FILE: focus.go type FocusMsg (line 5) | type FocusMsg struct type BlurMsg (line 9) | type BlurMsg struct FILE: input.go method translateInputEvent (line 8) | func (p *Program) translateInputEvent(e uv.Event) Msg { FILE: key.go constant KeyExtended (line 12) | KeyExtended = uv.KeyExtended constant KeyUp (line 20) | KeyUp = uv.KeyUp constant KeyDown (line 21) | KeyDown = uv.KeyDown constant KeyRight (line 22) | KeyRight = uv.KeyRight constant KeyLeft (line 23) | KeyLeft = uv.KeyLeft constant KeyBegin (line 24) | KeyBegin = uv.KeyBegin constant KeyFind (line 25) | KeyFind = uv.KeyFind constant KeyInsert (line 26) | KeyInsert = uv.KeyInsert constant KeyDelete (line 27) | KeyDelete = uv.KeyDelete constant KeySelect (line 28) | KeySelect = uv.KeySelect constant KeyPgUp (line 29) | KeyPgUp = uv.KeyPgUp constant KeyPgDown (line 30) | KeyPgDown = uv.KeyPgDown constant KeyHome (line 31) | KeyHome = uv.KeyHome constant KeyEnd (line 32) | KeyEnd = uv.KeyEnd constant KeyKpEnter (line 36) | KeyKpEnter = uv.KeyKpEnter constant KeyKpEqual (line 37) | KeyKpEqual = uv.KeyKpEqual constant KeyKpMultiply (line 38) | KeyKpMultiply = uv.KeyKpMultiply constant KeyKpPlus (line 39) | KeyKpPlus = uv.KeyKpPlus constant KeyKpComma (line 40) | KeyKpComma = uv.KeyKpComma constant KeyKpMinus (line 41) | KeyKpMinus = uv.KeyKpMinus constant KeyKpDecimal (line 42) | KeyKpDecimal = uv.KeyKpDecimal constant KeyKpDivide (line 43) | KeyKpDivide = uv.KeyKpDivide constant KeyKp0 (line 44) | KeyKp0 = uv.KeyKp0 constant KeyKp1 (line 45) | KeyKp1 = uv.KeyKp1 constant KeyKp2 (line 46) | KeyKp2 = uv.KeyKp2 constant KeyKp3 (line 47) | KeyKp3 = uv.KeyKp3 constant KeyKp4 (line 48) | KeyKp4 = uv.KeyKp4 constant KeyKp5 (line 49) | KeyKp5 = uv.KeyKp5 constant KeyKp6 (line 50) | KeyKp6 = uv.KeyKp6 constant KeyKp7 (line 51) | KeyKp7 = uv.KeyKp7 constant KeyKp8 (line 52) | KeyKp8 = uv.KeyKp8 constant KeyKp9 (line 53) | KeyKp9 = uv.KeyKp9 constant KeyKpSep (line 57) | KeyKpSep = uv.KeyKpSep constant KeyKpUp (line 58) | KeyKpUp = uv.KeyKpUp constant KeyKpDown (line 59) | KeyKpDown = uv.KeyKpDown constant KeyKpLeft (line 60) | KeyKpLeft = uv.KeyKpLeft constant KeyKpRight (line 61) | KeyKpRight = uv.KeyKpRight constant KeyKpPgUp (line 62) | KeyKpPgUp = uv.KeyKpPgUp constant KeyKpPgDown (line 63) | KeyKpPgDown = uv.KeyKpPgDown constant KeyKpHome (line 64) | KeyKpHome = uv.KeyKpHome constant KeyKpEnd (line 65) | KeyKpEnd = uv.KeyKpEnd constant KeyKpInsert (line 66) | KeyKpInsert = uv.KeyKpInsert constant KeyKpDelete (line 67) | KeyKpDelete = uv.KeyKpDelete constant KeyKpBegin (line 68) | KeyKpBegin = uv.KeyKpBegin constant KeyF1 (line 72) | KeyF1 = uv.KeyF1 constant KeyF2 (line 73) | KeyF2 = uv.KeyF2 constant KeyF3 (line 74) | KeyF3 = uv.KeyF3 constant KeyF4 (line 75) | KeyF4 = uv.KeyF4 constant KeyF5 (line 76) | KeyF5 = uv.KeyF5 constant KeyF6 (line 77) | KeyF6 = uv.KeyF6 constant KeyF7 (line 78) | KeyF7 = uv.KeyF7 constant KeyF8 (line 79) | KeyF8 = uv.KeyF8 constant KeyF9 (line 80) | KeyF9 = uv.KeyF9 constant KeyF10 (line 81) | KeyF10 = uv.KeyF10 constant KeyF11 (line 82) | KeyF11 = uv.KeyF11 constant KeyF12 (line 83) | KeyF12 = uv.KeyF12 constant KeyF13 (line 84) | KeyF13 = uv.KeyF13 constant KeyF14 (line 85) | KeyF14 = uv.KeyF14 constant KeyF15 (line 86) | KeyF15 = uv.KeyF15 constant KeyF16 (line 87) | KeyF16 = uv.KeyF16 constant KeyF17 (line 88) | KeyF17 = uv.KeyF17 constant KeyF18 (line 89) | KeyF18 = uv.KeyF18 constant KeyF19 (line 90) | KeyF19 = uv.KeyF19 constant KeyF20 (line 91) | KeyF20 = uv.KeyF20 constant KeyF21 (line 92) | KeyF21 = uv.KeyF21 constant KeyF22 (line 93) | KeyF22 = uv.KeyF22 constant KeyF23 (line 94) | KeyF23 = uv.KeyF23 constant KeyF24 (line 95) | KeyF24 = uv.KeyF24 constant KeyF25 (line 96) | KeyF25 = uv.KeyF25 constant KeyF26 (line 97) | KeyF26 = uv.KeyF26 constant KeyF27 (line 98) | KeyF27 = uv.KeyF27 constant KeyF28 (line 99) | KeyF28 = uv.KeyF28 constant KeyF29 (line 100) | KeyF29 = uv.KeyF29 constant KeyF30 (line 101) | KeyF30 = uv.KeyF30 constant KeyF31 (line 102) | KeyF31 = uv.KeyF31 constant KeyF32 (line 103) | KeyF32 = uv.KeyF32 constant KeyF33 (line 104) | KeyF33 = uv.KeyF33 constant KeyF34 (line 105) | KeyF34 = uv.KeyF34 constant KeyF35 (line 106) | KeyF35 = uv.KeyF35 constant KeyF36 (line 107) | KeyF36 = uv.KeyF36 constant KeyF37 (line 108) | KeyF37 = uv.KeyF37 constant KeyF38 (line 109) | KeyF38 = uv.KeyF38 constant KeyF39 (line 110) | KeyF39 = uv.KeyF39 constant KeyF40 (line 111) | KeyF40 = uv.KeyF40 constant KeyF41 (line 112) | KeyF41 = uv.KeyF41 constant KeyF42 (line 113) | KeyF42 = uv.KeyF42 constant KeyF43 (line 114) | KeyF43 = uv.KeyF43 constant KeyF44 (line 115) | KeyF44 = uv.KeyF44 constant KeyF45 (line 116) | KeyF45 = uv.KeyF45 constant KeyF46 (line 117) | KeyF46 = uv.KeyF46 constant KeyF47 (line 118) | KeyF47 = uv.KeyF47 constant KeyF48 (line 119) | KeyF48 = uv.KeyF48 constant KeyF49 (line 120) | KeyF49 = uv.KeyF49 constant KeyF50 (line 121) | KeyF50 = uv.KeyF50 constant KeyF51 (line 122) | KeyF51 = uv.KeyF51 constant KeyF52 (line 123) | KeyF52 = uv.KeyF52 constant KeyF53 (line 124) | KeyF53 = uv.KeyF53 constant KeyF54 (line 125) | KeyF54 = uv.KeyF54 constant KeyF55 (line 126) | KeyF55 = uv.KeyF55 constant KeyF56 (line 127) | KeyF56 = uv.KeyF56 constant KeyF57 (line 128) | KeyF57 = uv.KeyF57 constant KeyF58 (line 129) | KeyF58 = uv.KeyF58 constant KeyF59 (line 130) | KeyF59 = uv.KeyF59 constant KeyF60 (line 131) | KeyF60 = uv.KeyF60 constant KeyF61 (line 132) | KeyF61 = uv.KeyF61 constant KeyF62 (line 133) | KeyF62 = uv.KeyF62 constant KeyF63 (line 134) | KeyF63 = uv.KeyF63 constant KeyCapsLock (line 139) | KeyCapsLock = uv.KeyCapsLock constant KeyScrollLock (line 140) | KeyScrollLock = uv.KeyScrollLock constant KeyNumLock (line 141) | KeyNumLock = uv.KeyNumLock constant KeyPrintScreen (line 142) | KeyPrintScreen = uv.KeyPrintScreen constant KeyPause (line 143) | KeyPause = uv.KeyPause constant KeyMenu (line 144) | KeyMenu = uv.KeyMenu constant KeyMediaPlay (line 146) | KeyMediaPlay = uv.KeyMediaPlay constant KeyMediaPause (line 147) | KeyMediaPause = uv.KeyMediaPause constant KeyMediaPlayPause (line 148) | KeyMediaPlayPause = uv.KeyMediaPlayPause constant KeyMediaReverse (line 149) | KeyMediaReverse = uv.KeyMediaReverse constant KeyMediaStop (line 150) | KeyMediaStop = uv.KeyMediaStop constant KeyMediaFastForward (line 151) | KeyMediaFastForward = uv.KeyMediaFastForward constant KeyMediaRewind (line 152) | KeyMediaRewind = uv.KeyMediaRewind constant KeyMediaNext (line 153) | KeyMediaNext = uv.KeyMediaNext constant KeyMediaPrev (line 154) | KeyMediaPrev = uv.KeyMediaPrev constant KeyMediaRecord (line 155) | KeyMediaRecord constant KeyLowerVol (line 157) | KeyLowerVol = uv.KeyLowerVol constant KeyRaiseVol (line 158) | KeyRaiseVol = uv.KeyRaiseVol constant KeyMute (line 159) | KeyMute = uv.KeyMute constant KeyLeftShift (line 161) | KeyLeftShift = uv.KeyLeftShift constant KeyLeftAlt (line 162) | KeyLeftAlt = uv.KeyLeftAlt constant KeyLeftCtrl (line 163) | KeyLeftCtrl = uv.KeyLeftCtrl constant KeyLeftSuper (line 164) | KeyLeftSuper = uv.KeyLeftSuper constant KeyLeftHyper (line 165) | KeyLeftHyper = uv.KeyLeftHyper constant KeyLeftMeta (line 166) | KeyLeftMeta = uv.KeyLeftMeta constant KeyRightShift (line 167) | KeyRightShift = uv.KeyRightShift constant KeyRightAlt (line 168) | KeyRightAlt = uv.KeyRightAlt constant KeyRightCtrl (line 169) | KeyRightCtrl = uv.KeyRightCtrl constant KeyRightSuper (line 170) | KeyRightSuper = uv.KeyRightSuper constant KeyRightHyper (line 171) | KeyRightHyper = uv.KeyRightHyper constant KeyRightMeta (line 172) | KeyRightMeta = uv.KeyRightMeta constant KeyIsoLevel3Shift (line 173) | KeyIsoLevel3Shift = uv.KeyIsoLevel3Shift constant KeyIsoLevel5Shift (line 174) | KeyIsoLevel5Shift = uv.KeyIsoLevel5Shift constant KeyBackspace (line 178) | KeyBackspace = uv.KeyBackspace constant KeyTab (line 179) | KeyTab = uv.KeyTab constant KeyEnter (line 180) | KeyEnter = uv.KeyEnter constant KeyReturn (line 181) | KeyReturn = uv.KeyReturn constant KeyEscape (line 182) | KeyEscape = uv.KeyEscape constant KeyEsc (line 183) | KeyEsc = uv.KeyEsc constant KeySpace (line 187) | KeySpace = uv.KeySpace type KeyPressMsg (line 191) | type KeyPressMsg method String (line 195) | func (k KeyPressMsg) String() string { method Keystroke (line 213) | func (k KeyPressMsg) Keystroke() string { method Key (line 219) | func (k KeyPressMsg) Key() Key { type KeyReleaseMsg (line 224) | type KeyReleaseMsg method String (line 228) | func (k KeyReleaseMsg) String() string { method Keystroke (line 246) | func (k KeyReleaseMsg) Keystroke() string { method Key (line 253) | func (k KeyReleaseMsg) Key() Key { type KeyMsg (line 259) | type KeyMsg interface type Key (line 302) | type Key struct method String (line 351) | func (k Key) String() string { method Keystroke (line 369) | func (k Key) Keystroke() string { FILE: keyboard.go type KeyboardEnhancementsMsg (line 9) | type KeyboardEnhancementsMsg struct method SupportsKeyDisambiguation (line 33) | func (k KeyboardEnhancementsMsg) SupportsKeyDisambiguation() bool { method SupportsEventTypes (line 39) | func (k KeyboardEnhancementsMsg) SupportsEventTypes() bool { FILE: logging.go function LogToFile (line 23) | func LogToFile(path string, prefix string) (*os.File, error) { type LogOptionsSetter (line 29) | type LogOptionsSetter interface function LogToFileWith (line 35) | func LogToFileWith(path string, prefix string, log LogOptionsSetter) (*o... FILE: logging_test.go function TestLogToFile (line 10) | func TestLogToFile(t *testing.T) { FILE: mod.go constant ModShift (line 10) | ModShift = uv.ModShift constant ModAlt (line 11) | ModAlt = uv.ModAlt constant ModCtrl (line 12) | ModCtrl = uv.ModCtrl constant ModMeta (line 13) | ModMeta = uv.ModMeta constant ModHyper (line 19) | ModHyper = uv.ModHyper constant ModSuper (line 20) | ModSuper = uv.ModSuper constant ModCapsLock (line 24) | ModCapsLock = uv.ModCapsLock constant ModNumLock (line 25) | ModNumLock = uv.ModNumLock constant ModScrollLock (line 26) | ModScrollLock = uv.ModScrollLock FILE: mouse.go constant MouseNone (line 30) | MouseNone = uv.MouseNone constant MouseLeft (line 31) | MouseLeft = uv.MouseLeft constant MouseMiddle (line 32) | MouseMiddle = uv.MouseMiddle constant MouseRight (line 33) | MouseRight = uv.MouseRight constant MouseWheelUp (line 34) | MouseWheelUp = uv.MouseWheelUp constant MouseWheelDown (line 35) | MouseWheelDown = uv.MouseWheelDown constant MouseWheelLeft (line 36) | MouseWheelLeft = uv.MouseWheelLeft constant MouseWheelRight (line 37) | MouseWheelRight = uv.MouseWheelRight constant MouseBackward (line 38) | MouseBackward = uv.MouseBackward constant MouseForward (line 39) | MouseForward = uv.MouseForward constant MouseButton10 (line 40) | MouseButton10 = uv.MouseButton10 constant MouseButton11 (line 41) | MouseButton11 type MouseMsg (line 46) | type MouseMsg interface type Mouse (line 71) | type Mouse struct method String (line 78) | func (m Mouse) String() (s string) { type MouseClickMsg (line 83) | type MouseClickMsg method String (line 86) | func (e MouseClickMsg) String() string { method Mouse (line 93) | func (e MouseClickMsg) Mouse() Mouse { type MouseReleaseMsg (line 98) | type MouseReleaseMsg method String (line 101) | func (e MouseReleaseMsg) String() string { method Mouse (line 108) | func (e MouseReleaseMsg) Mouse() Mouse { type MouseWheelMsg (line 113) | type MouseWheelMsg method String (line 116) | func (e MouseWheelMsg) String() string { method Mouse (line 123) | func (e MouseWheelMsg) Mouse() Mouse { type MouseMotionMsg (line 128) | type MouseMotionMsg method String (line 131) | func (e MouseMotionMsg) String() string { method Mouse (line 142) | func (e MouseMotionMsg) Mouse() Mouse { FILE: nil_renderer.go type nilRenderer (line 10) | type nilRenderer struct method start (line 15) | func (n nilRenderer) start() {} method clearScreen (line 18) | func (n nilRenderer) clearScreen() {} method insertAbove (line 21) | func (n nilRenderer) insertAbove(string) error { return nil } method resize (line 24) | func (n nilRenderer) resize(int, int) {} method setColorProfile (line 27) | func (n nilRenderer) setColorProfile(colorprofile.Profile) {} method flush (line 30) | func (nilRenderer) flush(bool) error { return nil } method close (line 33) | func (nilRenderer) close() error { return nil } method render (line 36) | func (nilRenderer) render(View) {} method reset (line 39) | func (nilRenderer) reset() {} method writeString (line 42) | func (nilRenderer) writeString(string) (int, error) { return 0, nil } method setSyncdUpdates (line 45) | func (n nilRenderer) setSyncdUpdates(bool) {} method setWidthMethod (line 48) | func (n nilRenderer) setWidthMethod(ansi.Method) {} method onMouse (line 51) | func (n nilRenderer) onMouse(MouseMsg) Cmd { FILE: options.go type ProgramOption (line 17) | type ProgramOption function WithContext (line 22) | func WithContext(ctx context.Context) ProgramOption { function WithOutput (line 30) | func WithOutput(output io.Writer) ProgramOption { function WithInput (line 40) | func WithInput(input io.Reader) ProgramOption { function WithEnvironment (line 58) | func WithEnvironment(env []string) ProgramOption { function WithoutSignalHandler (line 66) | func WithoutSignalHandler() ProgramOption { function WithoutCatchPanics (line 76) | func WithoutCatchPanics() ProgramOption { function WithoutSignals (line 84) | func WithoutSignals() ProgramOption { function WithoutRenderer (line 98) | func WithoutRenderer() ProgramOption { function WithFilter (line 133) | func WithFilter(filter func(Model, Msg) Msg) ProgramOption { function WithFPS (line 142) | func WithFPS(fps int) ProgramOption { function WithColorProfile (line 153) | func WithColorProfile(profile colorprofile.Profile) ProgramOption { function WithWindowSize (line 163) | func WithWindowSize(width, height int) ProgramOption { FILE: options_test.go function TestOptions (line 11) | func TestOptions(t *testing.T) { FILE: paste.go type PasteMsg (line 5) | type PasteMsg struct method String (line 10) | func (p PasteMsg) String() string { type PasteStartMsg (line 16) | type PasteStartMsg struct type PasteEndMsg (line 20) | type PasteEndMsg struct FILE: profile.go type ColorProfileMsg (line 13) | type ColorProfileMsg struct FILE: raw.go type RawMsg (line 5) | type RawMsg struct function Raw (line 33) | func Raw(r any) Cmd { FILE: renderer.go constant defaultFPS (line 13) | defaultFPS = 60 constant maxFPS (line 14) | maxFPS = 120 type renderer (line 18) | type renderer interface type printLineMessage (line 59) | type printLineMessage struct function Println (line 70) | func Println(args ...any) Cmd { function Printf (line 86) | func Printf(template string, args ...any) Cmd { function encodeCursorStyle (line 96) | func encodeCursorStyle(style CursorShape, blink bool) int { FILE: screen.go type WindowSizeMsg (line 9) | type WindowSizeMsg struct function ClearScreen (line 20) | func ClearScreen() Msg { type clearScreenMsg (line 26) | type clearScreenMsg struct type ModeReportMsg (line 62) | type ModeReportMsg struct FILE: screen_test.go type testViewOpts (line 12) | type testViewOpts struct function testViewOptsCmds (line 21) | func testViewOptsCmds(opts ...testViewOpts) []Cmd { type testViewModel (line 32) | type testViewModel struct method Update (line 37) | func (m *testViewModel) Update(msg Msg) (Model, Cmd) { method View (line 48) | func (m *testViewModel) View() View { function TestViewModel (line 61) | func TestViewModel(t *testing.T) { function TestClearMsg (line 160) | func TestClearMsg(t *testing.T) { FILE: signals_unix.go method listenForResize (line 15) | func (p *Program) listenForResize(done chan struct{}) { FILE: signals_windows.go method listenForResize (line 8) | func (p *Program) listenForResize(done chan struct{}) { FILE: tea.go type Model (line 53) | type Model interface function NewView (line 76) | func NewView(s string) View { type View (line 84) | type View struct method SetContent (line 260) | func (v *View) SetContent(s string) { type KeyboardEnhancements (line 241) | type KeyboardEnhancements struct type MouseMode (line 265) | type MouseMode constant MouseModeNone (line 269) | MouseModeNone MouseMode = iota constant MouseModeCellMotion (line 278) | MouseModeCellMotion constant MouseModeAllMotion (line 286) | MouseModeAllMotion type ProgressBarState (line 290) | type ProgressBarState method String (line 302) | func (s ProgressBarState) String() string { constant ProgressBarNone (line 294) | ProgressBarNone ProgressBarState = iota constant ProgressBarDefault (line 295) | ProgressBarDefault constant ProgressBarError (line 296) | ProgressBarError constant ProgressBarIndeterminate (line 297) | ProgressBarIndeterminate constant ProgressBarWarning (line 298) | ProgressBarWarning type ProgressBar (line 317) | type ProgressBar struct function NewProgressBar (line 330) | func NewProgressBar(state ProgressBarState, value int) *ProgressBar { type Cursor (line 338) | type Cursor struct function NewCursor (line 355) | func NewCursor(x, y int) *Cursor { type Cmd (line 371) | type Cmd type channelHandlers (line 376) | type channelHandlers struct method add (line 383) | func (h *channelHandlers) add(ch chan struct{}) { method shutdown (line 390) | func (h *channelHandlers) shutdown() { type Program (line 407) | type Program struct method handleSignals (line 624) | func (p *Program) handleSignals() chan struct{} { method handleResize (line 666) | func (p *Program) handleResize() chan struct{} { method handleCommands (line 681) | func (p *Program) handleCommands(cmds chan Cmd) chan struct{} { method eventLoop (line 724) | func (p *Program) eventLoop(model Model, cmds chan Cmd) (Model, error) { method render (line 867) | func (p *Program) render(model Model) { method execSequenceMsg (line 873) | func (p *Program) execSequenceMsg(msg sequenceMsg) { method execBatchMsg (line 899) | func (p *Program) execBatchMsg(msg BatchMsg) { method Run (line 972) | func (p *Program) Run() (returnModel Model, returnErr error) { method Send (line 1164) | func (p *Program) Send(msg Msg) { method Quit (line 1178) | func (p *Program) Quit() { method Kill (line 1185) | func (p *Program) Kill() { method Wait (line 1190) | func (p *Program) Wait() { method execute (line 1195) | func (p *Program) execute(seq string) { method flush (line 1202) | func (p *Program) flush() error { method shutdown (line 1222) | func (p *Program) shutdown(kill bool) { method recoverFromPanic (line 1250) | func (p *Program) recoverFromPanic(r interface{}) { method recoverFromGoPanic (line 1275) | func (p *Program) recoverFromGoPanic(r interface{}) { method ReleaseTerminal (line 1300) | func (p *Program) ReleaseTerminal() error { method releaseTerminal (line 1304) | func (p *Program) releaseTerminal(reset bool) error { method RestoreTerminal (line 1325) | func (p *Program) RestoreTerminal() error { method Println (line 1351) | func (p *Program) Println(args ...any) { method Printf (line 1365) | func (p *Program) Printf(template string, args ...any) { method startRenderer (line 1372) | func (p *Program) startRenderer() { method stopRenderer (line 1406) | func (p *Program) stopRenderer(kill bool) { function Quit (line 536) | func Quit() Msg { type QuitMsg (line 542) | type QuitMsg struct function Suspend (line 545) | func Suspend() Msg { type SuspendMsg (line 555) | type SuspendMsg struct type ResumeMsg (line 559) | type ResumeMsg struct type InterruptMsg (line 567) | type InterruptMsg struct function Interrupt (line 571) | func Interrupt() Msg { function NewProgram (line 576) | func NewProgram(model Model, opts ...ProgramOption) *Program { function shouldQuerySynchronizedOutput (line 953) | func shouldQuerySynchronizedOutput(environ uv.Environ) bool { FILE: tea_test.go type ctxImplodeMsg (line 15) | type ctxImplodeMsg struct type incrementMsg (line 19) | type incrementMsg struct type panicMsg (line 21) | type panicMsg struct function panicCmd (line 23) | func panicCmd() Msg { type testModel (line 27) | type testModel struct method Init (line 32) | func (m *testModel) Init() Cmd { method Update (line 36) | func (m *testModel) Update(msg Msg) (Model, Cmd) { method View (line 63) | func (m *testModel) View() View { function TestTeaModel (line 68) | func TestTeaModel(t *testing.T) { function TestTeaQuit (line 90) | func TestTeaQuit(t *testing.T) { function TestTeaWaitQuit (line 114) | func TestTeaWaitQuit(t *testing.T) { function TestTeaWaitKill (line 167) | func TestTeaWaitKill(t *testing.T) { function TestTeaWithFilter (line 220) | func TestTeaWithFilter(t *testing.T) { function testTeaWithFilter (line 226) | func testTeaWithFilter(t *testing.T, preventCount uint32) { function TestTeaKill (line 262) | func TestTeaKill(t *testing.T) { function TestTeaContext (line 294) | func TestTeaContext(t *testing.T) { function TestTeaContextImplodeDeadlock (line 327) | func TestTeaContextImplodeDeadlock(t *testing.T) { function TestTeaContextBatchDeadlock (line 353) | func TestTeaContextBatchDeadlock(t *testing.T) { function TestTeaBatchMsg (line 388) | func TestTeaBatchMsg(t *testing.T) { function TestTeaSequenceMsg (line 423) | func TestTeaSequenceMsg(t *testing.T) { function TestTeaSequenceMsgWithBatchMsg (line 447) | func TestTeaSequenceMsgWithBatchMsg(t *testing.T) { function TestTeaNestedSequenceMsg (line 474) | func TestTeaNestedSequenceMsg(t *testing.T) { function TestTeaSend (line 498) | func TestTeaSend(t *testing.T) { function TestTeaNoRun (line 519) | func TestTeaNoRun(t *testing.T) { function TestTeaPanic (line 530) | func TestTeaPanic(t *testing.T) { function TestTeaGoroutinePanic (line 560) | func TestTeaGoroutinePanic(t *testing.T) { type benchModel (line 595) | type benchModel struct method Init (line 599) | func (m benchModel) Init() Cmd { method Update (line 603) | func (m benchModel) Update(msg Msg) (Model, Cmd) { method View (line 615) | func (m benchModel) View() View { function BenchmarkTeaRun (line 627) | func BenchmarkTeaRun(b *testing.B) { FILE: termcap.go type requestCapabilityMsg (line 5) | type requestCapabilityMsg function RequestCapability (line 30) | func RequestCapability(s string) Cmd { type CapabilityMsg (line 41) | type CapabilityMsg struct method String (line 46) | func (c CapabilityMsg) String() string { FILE: termios_bsd.go method checkOptimizedMovements (line 11) | func (p *Program) checkOptimizedMovements(s *term.State) { FILE: termios_other.go method checkOptimizedMovements (line 8) | func (*Program) checkOptimizedMovements(*term.State) {} FILE: termios_unix.go method checkOptimizedMovements (line 11) | func (p *Program) checkOptimizedMovements(s *term.State) { FILE: termios_windows.go method checkOptimizedMovements (line 8) | func (p *Program) checkOptimizedMovements(*term.State) { FILE: tty.go method suspend (line 12) | func (p *Program) suspend() { method initTerminal (line 24) | func (p *Program) initTerminal() error { method restoreTerminalState (line 33) | func (p *Program) restoreTerminalState() error { method restoreInput (line 41) | func (p *Program) restoreInput() error { method initInputReader (line 56) | func (p *Program) initInputReader(cancel bool) error { method readLoop (line 84) | func (p *Program) readLoop() { method waitForReadLoop (line 97) | func (p *Program) waitForReadLoop() { method checkResize (line 109) | func (p *Program) checkResize() { function OpenTTY (line 130) | func OpenTTY() (*os.File, *os.File, error) { FILE: tty_unix.go method initInput (line 15) | func (p *Program) initInput() (err error) { constant suspendSupported (line 37) | suspendSupported = true function suspendProcess (line 40) | func suspendProcess() { FILE: tty_windows.go method initInput (line 13) | func (p *Program) initInput() (err error) { constant suspendSupported (line 62) | suspendSupported = false function suspendProcess (line 64) | func suspendProcess() {} FILE: tutorials/basics/main.go type model (line 10) | type model struct method Init (line 28) | func (m model) Init() tea.Cmd { method Update (line 32) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 59) | func (m model) View() tea.View { function initialModel (line 16) | func initialModel() model { function main (line 84) | func main() { FILE: tutorials/commands/main.go constant url (line 12) | url = "https://charm.sh/" type model (line 14) | type model struct method Init (line 38) | func (m model) Init() tea.Cmd { method Update (line 42) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 61) | func (m model) View() tea.View { function checkServer (line 19) | func checkServer() tea.Msg { type statusMsg (line 30) | type statusMsg type errMsg (line 32) | type errMsg struct method Error (line 36) | func (e errMsg) Error() string { return e.err.Error() } function main (line 73) | func main() { FILE: xterm.go type TerminalVersionMsg (line 4) | type TerminalVersionMsg struct method String (line 9) | func (t TerminalVersionMsg) String() string { type terminalVersion (line 15) | type terminalVersion struct function RequestTerminalVersion (line 20) | func RequestTerminalVersion() Msg {