MCPcopy Create free account

hub / github.com/charmbracelet/bubbletea / functions

Functions758 in github.com/charmbracelet/bubbletea

↓ 1 callersFunctioninitialModel
()
examples/keyboard-enhancements/main.go:97
↓ 1 callersFunctioninitialModel
()
examples/textinput/main.go:31
↓ 1 callersFunctioninitialModel
()
examples/list-simple/main.go:72
↓ 1 callersFunctioninitialModel
()
examples/spinner/main.go:23
↓ 1 callersFunctioninitialModel
()
tutorials/basics/main.go:16
↓ 1 callersFunctioninterpolateColors
(color1, color2 color.Color, t float64)
examples/splash/main.go:149
↓ 1 callersFunctionlistenForActivity
Simulate a process that sends events at an irregular interval in real time. In this case, we'll send events on the channel at a random interval betwee
examples/realtime/main.go:24
↓ 1 callersMethodlistenForResize
listenForResize sends messages (or errors) when the terminal resizes. Argument output should be the file descriptor for the terminal; usually os.Stdou
signals_unix.go:15
↓ 1 callersFunctionmakeRampStyles
Utils Generate a blend of colors.
examples/views/main.go:251
↓ 1 callersFunctionnewCard
(str string)
examples/canvas/main.go:68
↓ 1 callersFunctionnewDelegateKeyMap
()
examples/list-fancy/delegate.go:78
↓ 1 callersMethodnewDialog
(x, y int)
examples/clickable/main.go:261
↓ 1 callersFunctionnewExample
(isDark bool)
examples/glamour/main.go:59
↓ 1 callersFunctionnewItemDelegate
(keys *delegateKeyMap, styles *styles)
examples/list-fancy/delegate.go:9
↓ 1 callersFunctionnewListKeyMap
()
examples/list-fancy/main.go:53
↓ 1 callersFunctionnewModel
()
examples/paginator/main.go:35
↓ 1 callersFunctionnewModel
()
examples/split-editors/main.go:84
↓ 1 callersFunctionnewModel
(timeout time.Duration)
examples/composable-views/main.go:69
↓ 1 callersFunctionnewModel
(initialValue string)
examples/pipe/main.go:58
↓ 1 callersFunctionnewModel
()
examples/package-manager/main.go:32
↓ 1 callersFunctionnewModel
()
examples/tui-daemon-combo/main.go:65
↓ 1 callersFunctionnewModel
()
examples/send-msg/main.go:45
↓ 1 callersFunctionnewModel
()
examples/query-term/main.go:18
↓ 1 callersFunctionnewModel
()
examples/help/main.go:75
↓ 1 callersFunctionnewStyles
(bgIsDark bool)
examples/paginator/main.go:22
↓ 1 callersFunctionnewStyles
(darkBG bool)
examples/list-simple/main.go:25
↓ 1 callersFunctionnewStyles
(bgIsDark bool)
examples/tabs/main.go:20
↓ 1 callersFunctionnextRandomWord
()
examples/clickable/words.go:41
↓ 1 callersMethodonMouse
onMouse handles a mouse event.
renderer.go:65
↓ 1 callersFunctionopenEditor
()
examples/exec/main.go:14
↓ 1 callersFunctionprogressbar
(percent float64)
examples/views/main.go:233
↓ 1 callersFunctionrandomEmoji
()
examples/tui-daemon-combo/main.go:136
↓ 1 callersFunctionrandomFood
()
examples/send-msg/main.go:126
↓ 1 callersMethodreadLoop
()
tty.go:97
↓ 1 callersMethodready
()
examples/cellbuffer/main.go:114
↓ 1 callersMethodremoveDialog
(index int)
examples/clickable/main.go:274
↓ 1 callersMethodreset
reset resets the renderer's state to its initial state.
renderer.go:34
↓ 1 callersMethodreset
()
examples/list-fancy/randomitems.go:17
↓ 1 callersMethodresetKeyboardEnhancements
resetKeyboardEnhancements writes the sequences that reset keyboard enhancement protocols when switching between the main and alt screens. modifyOtherK
cursed_renderer.go:74
↓ 1 callersMethodresetSpinner
()
examples/composable-views/main.go:151
↓ 1 callersMethodrestoreInput
restoreInput restores the tty input to its original state.
tty.go:42
↓ 1 callersFunctionreverse
Reverse a slice, returning a new slice.
examples/canvas/main.go:81
↓ 1 callersMethodset
(x, y int)
examples/cellbuffer/main.go:88
↓ 1 callersMethodsetLogger
setLogger sets the logger for the renderer.
cursed_renderer.go:55
↓ 1 callersMethodsetNoInput
setNoInput disables keyboard enhancement requests. When the program runs without input, the terminal's response to a keyboard enhancement query would
cursed_renderer.go:64
↓ 1 callersMethodsetOptimizations
setOptimizations sets the cursor movement optimizations.
cursed_renderer.go:85
↓ 1 callersMethodsetSyncdUpdates
setSyncdUpdates sets whether to use synchronized updates.
renderer.go:40
↓ 1 callersMethodsetupColors
()
examples/space/main.go:68
↓ 1 callersFunctionshouldQuerySynchronizedOutput
shouldQuerySynchronizedOutput determines whether the terminal should be queried for various capabilities. This function checks for terminals that are
tea.go:1020
↓ 1 callersMethodsizeInputs
()
examples/split-editors/main.go:176
↓ 1 callersMethodspreadFire
()
examples/doom-fire/main.go:83
↓ 1 callersMethodspreadPixel
(idx int)
examples/doom-fire/main.go:91
↓ 1 callersMethodstatusView
()
examples/dynamic-textarea/main.go:61
↓ 1 callersMethodsuspend
()
tty.go:13
↓ 1 callersFunctionsuspendProcess
Send SIGTSTP to the entire process group.
tty_unix.go:40
↓ 1 callersFunctiontabBorderWithBottom
(left, middle, right string)
examples/tabs/main.go:74
↓ 1 callersFunctiontestTeaWithFilter
(t *testing.T, preventCount uint32)
tea_test.go:286
↓ 1 callersFunctiontestViewOptsCmds
(opts ...testViewOpts)
screen_test.go:21
↓ 1 callersFunctionupdateChoices
Sub-update functions Update loop for the first view where you're choosing a task.
examples/views/main.go:118
↓ 1 callersFunctionupdateChosen
Update loop for the second view after a choice has been made
examples/views/main.go:150
↓ 1 callersMethodupdateInputs
(msg tea.Msg)
examples/textinputs/main.go:143
↓ 1 callersMethodupdateListProperties
()
examples/list-fancy/main.go:99
↓ 1 callersMethodupdatePromptView
(msg tea.Msg)
examples/prevent-quit/main.go:120
↓ 1 callersMethodupdateStyles
(isDark bool)
examples/list-simple/main.go:98
↓ 1 callersMethodupdateTextView
(msg tea.Msg)
examples/prevent-quit/main.go:90
↓ 1 callersMethodview
()
examples/clickable/main.go:319
↓ 1 callersFunctionviewEquals
(a, b *View)
cursed_renderer.go:931
↓ 1 callersMethodwaitDone
waitDone waits for Run to return.
renderer_park_test.go:184
↓ 1 callersMethodwidth
()
examples/cellbuffer/main.go:102
↓ 1 callersFunctionwrapExecCommand
wrapExecCommand wraps an exec.Cmd so that it satisfies the ExecCommand interface so it can be used with Exec.
exec.go:69
FunctionBenchmarkTeaRun
(b *testing.B)
tea_test.go:810
FunctionClearScreen
ClearScreen is a special command that tells the program to clear the screen before the next update. This can be used to move the cursor to the top lef
screen.go:18
MethodClipboard
Clipboard returns the clipboard selection type. This will be one of the following values: - c: System clipboard. - p: Primary clipboard (X11/Wayland
clipboard.go:15
MethodDescription
()
examples/list-fancy/main.go:41
MethodDescription
()
examples/list-default/main.go:19
MethodError
For messages that contain errors it's often handy to also implement the error interface on the message.
tutorials/commands/main.go:36
MethodFilterValue
()
examples/list-fancy/main.go:42
MethodFilterValue
()
examples/list-default/main.go:20
MethodFilterValue
()
examples/list-simple/main.go:38
MethodFullHelp
Additional full help entries. This satisfies the help.KeyMap interface and is entirely optional.
examples/list-fancy/delegate.go:69
MethodFullHelp
()
examples/autocomplete/main.go:83
MethodFullHelp
FullHelp returns keybindings for the expanded help view. It's part of the key.Map interface.
examples/help/main.go:33
MethodInit
()
tty_linux_test.go:18
MethodInit
()
cursed_renderer_test.go:162
MethodInit
()
exec_test.go:21
MethodInit
()
exec_test.go:28
MethodInit
()
exec_test.go:163
MethodInit
()
quit_lifecycle_test.go:16
MethodInit
()
tty_test.go:13
MethodInit
()
tea_test.go:38
MethodInit
Init returns no command on purpose: the program exits from Update once it has seen a WindowSizeMsg, so the quit is ordered after the observation rathe
tea_test.go:653
MethodInit
()
tea_test.go:782
MethodInit
()
tea_test.go:839
MethodInit
()
tea_test.go:908
MethodInit
()
renderer_park_test.go:76
MethodInit
()
examples/progress-animated/main.go:45
MethodInit
()
examples/list-fancy/main.go:93
MethodInit
()
examples/progress-download/tui.go:35
MethodInit
()
examples/paginator/main.go:62
MethodInit
()
examples/spinners/main.go:46
← previousnext →201–300 of 758, ranked by callers