MCPcopy Create free account

hub / github.com/charmbracelet/bubbletea / functions

Functions659 in github.com/charmbracelet/bubbletea

↓ 1 callersMethodonMouse
onMouse handles a mouse event.
renderer.go:56
↓ 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:84
↓ 1 callersMethodready
()
examples/cellbuffer/main.go:114
↓ 1 callersMethodremoveDialog
(index int)
examples/clickable/main.go:274
↓ 1 callersMethodrender
render renders a frame to the output.
renderer.go:26
↓ 1 callersMethodreset
reset resets the renderer's state to its initial state.
renderer.go:32
↓ 1 callersMethodreset
()
examples/list-fancy/randomitems.go:17
↓ 1 callersMethodresetSpinner
()
examples/composable-views/main.go:151
↓ 1 callersMethodrestoreInput
restoreInput restores the tty input to its original state.
tty.go:41
↓ 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:52
↓ 1 callersMethodsetOptimizations
setOptimizations sets the cursor movement optimizations.
cursed_renderer.go:59
↓ 1 callersMethodsetSyncdUpdates
setSyncdUpdates sets whether to use synchronized updates.
renderer.go:38
↓ 1 callersMethodsetWidthMethod
setWidthMethod sets the method for calculating the width of the terminal.
renderer.go:41
↓ 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:972
↓ 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 callersMethodstart
start starts the renderer.
renderer.go:20
↓ 1 callersMethodstatusView
()
examples/dynamic-textarea/main.go:61
↓ 1 callersFunctionsuccessExecCommand
()
exec_test.go:53
↓ 1 callersMethodsuspend
()
tty.go:12
↓ 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:234
↓ 1 callersFunctiontestViewOptsCmds
(opts ...testViewOpts)
screen_test.go:21
↓ 1 callersMethodtranslateInputEvent
translateInputEvent translates an input event into a Bubble Tea Msg.
input.go:8
↓ 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:803
↓ 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:647
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:20
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
()
cursed_renderer_test.go:14
MethodInit
()
exec_test.go:19
MethodInit
()
exec_test.go:26
MethodInit
()
tea_test.go:33
MethodInit
()
tea_test.go:619
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
MethodInit
()
examples/stopwatch/main.go:28
MethodInit
()
examples/split-editors/main.go:119
MethodInit
()
examples/isbn-form/main.go:155
MethodInit
()
examples/composable-views/main.go:76
MethodInit
()
examples/dynamic-textarea/main.go:38
MethodInit
()
examples/http/main.go:34
MethodInit
()
examples/result/main.go:21
MethodInit
()
examples/glamour/main.go:108
MethodInit
()
examples/canvas/main.go:18
MethodInit
()
examples/pipe/main.go:75
MethodInit
()
examples/splash/main.go:40
MethodInit
()
examples/set-window-title/main.go:17
MethodInit
Init implements tea.Model.
examples/colorprofile/main.go:20
MethodInit
()
examples/fullscreen/main.go:25
MethodInit
()
examples/textinputs/main.go:73
MethodInit
Init implements tea.Model.
examples/capability/main.go:20
MethodInit
()
examples/sequence/main.go:15
MethodInit
()
examples/set-terminal-color/main.go:51
MethodInit
()
examples/chat/main.go:69
MethodInit
()
examples/clickable/main.go:72
MethodInit
()
examples/file-picker/main.go:29
MethodInit
Init optionally returns an initial command we should run. In this case we want to start the timer.
examples/simple/main.go:38
MethodInit
()
examples/altscreen-toggle/main.go:22
MethodInit
()
examples/suspend/main.go:16
MethodInit
()
examples/package-manager/main.go:47
MethodInit
()
examples/exec/main.go:27
MethodInit
()
examples/cursor-style/main.go:15
MethodInit
()
examples/table/main.go:20
MethodInit
()
examples/debounce/main.go:29
MethodInit
()
examples/tui-daemon-combo/main.go:77
MethodInit
()
examples/views/main.go:78
MethodInit
()
examples/autocomplete/main.go:118
MethodInit
()
examples/pager/main.go:37
MethodInit
()
examples/progress-bar/main.go:18
← previousnext →201–300 of 659, ranked by callers