Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charmbracelet/bubbletea
/ functions
Functions
758 in github.com/charmbracelet/bubbletea
⨍
Functions
758
◇
Types & classes
222
Method
String
String returns a string representation of the mouse click message.
mouse.go:86
Method
String
String returns a string representation of the mouse release message.
mouse.go:101
Method
String
String returns a string representation of the mouse wheel message.
mouse.go:116
Method
String
String returns a string representation of the mouse motion message.
mouse.go:131
Method
String
String implements [fmt.Stringer] and is quite useful for matching key events. For details, on what this returns see [Key.String].
key.go:195
Method
String
String implements [fmt.Stringer] and is quite useful for matching key events. For details, on what this returns see [Key.String].
key.go:228
Method
SupportsAllKeysAsEscapeCodes
SupportsAllKeysAsEscapeCodes returns whether the terminal supports reporting all keys as escape codes.
keyboard.go:51
Method
SupportsAlternateKeys
SupportsAlternateKeys returns whether the terminal supports reporting alternate key codes.
keyboard.go:45
Method
SupportsAssociatedText
SupportsAssociatedText returns whether the terminal supports reporting associated text with key events.
keyboard.go:57
Method
SupportsKeyDisambiguation
SupportsKeyDisambiguation returns whether the terminal supports key disambiguation (e.g., distinguishing between different modifier keys).
keyboard.go:33
Function
Suspend
Suspend is a special command that tells the Bubble Tea program to suspend.
tea.go:594
Function
TestBatch
(t *testing.T)
commands_test.go:30
Function
TestClearMsg
(t *testing.T)
screen_test.go:164
Function
TestCursedRendererDrawsChangedEmptyAndTallViews
(t *testing.T)
cursed_renderer_test.go:104
Function
TestCursedRendererEnablesUnicodeModeForGraphemeWidth
(t *testing.T)
cursed_renderer_test.go:14
Function
TestCursedRendererResumeRestoresUnicodeMode
(t *testing.T)
cursed_renderer_test.go:59
Function
TestCursedRendererSkipsUnchangedEmptyAndTallViews
(t *testing.T)
cursed_renderer_test.go:131
Function
TestCursedRendererSkipsUnchangedView
(t *testing.T)
cursed_renderer_test.go:89
Function
TestCursedRendererWcWidthDoesNotEnableUnicodeMode
(t *testing.T)
cursed_renderer_test.go:29
Function
TestCursedRenderer_insertAboveBeforeFirstFlush
(t *testing.T)
cursed_renderer_test.go:349
Function
TestCursedRenderer_insertAboveLineBoundaries
(t *testing.T)
cursed_renderer_test.go:454
Function
TestCursedRenderer_insertAboveUsesActiveWidthMethod
Fixes: https://github.com/charmbracelet/bubbletea/issues/1802 insertAbove must measure wrapped lines with the active screen buffer's width method. Wh
cursed_renderer_test.go:418
Function
TestCursedRenderer_mouseVsFlush
Fixes: https://github.com/charmbracelet/bubbletea/issues/1690
cursed_renderer_test.go:180
Function
TestCursedRenderer_programStatus
(t *testing.T)
programstatus_test.go:12
Function
TestCursedRenderer_resizeStaleFrame
Fixes: https://github.com/charmbracelet/bubbletea/issues/1780
cursed_renderer_test.go:368
Function
TestCursedRenderer_restoresKittyKeyboardStack
(t *testing.T)
cursed_renderer_test.go:242
Function
TestCursedRenderer_updatesKittyKeyboardFlagsInPlace
(t *testing.T)
cursed_renderer_test.go:309
Function
TestEvery
(t *testing.T)
commands_test.go:8
Function
TestExecProcessAltscreenNoLeak
TestExecProcessAltscreenNoLeak verifies the #431 fix also holds in alt screen mode and that the program leaves the terminal in a clean state. The fix
exec_test.go:224
Function
TestExecProcessDoesNotLeakViewOutput
TestExecProcessDoesNotLeakViewOutput is a regression test for #431: when ExecProcess runs a subprocess, the renderer must not flush the last View() to
exec_test.go:194
Function
TestFallbackDimensions
(t *testing.T)
tty_test.go:31
Function
TestHandleSignalsReturnsAfterContextCancelDuringPendingSend
TestHandleSignalsReturnsAfterContextCancelDuringPendingSend is a regression test for the signal-goroutine deadlock on shutdown: a signal arriving whil
signals_test.go:18
Function
TestIsPlausibleWindowSize
(t *testing.T)
screen_test.go:212
Function
TestKillDuringStartupRace
(t *testing.T)
tea_test.go:252
Function
TestLogToFile
(t *testing.T)
logging_test.go:11
Function
TestLogToFileWithPrefixSpacing
(t *testing.T)
logging_test.go:32
Function
TestOptions
(t *testing.T)
options_test.go:11
Function
TestProgramClosesTraceFile
(t *testing.T)
tea_test.go:97
Function
TestProgramNonTTYDimensions
(t *testing.T)
tty_test.go:125
Function
TestProgramPrintAfterExit
(t *testing.T)
tea_test.go:588
Function
TestProgramQuitBeforeRunPreservesMessages
(t *testing.T)
quit_lifecycle_test.go:67
Function
TestProgramQuitDuringInitialization
(t *testing.T)
quit_lifecycle_test.go:100
Function
TestProgramQuitRespectsFilter
(t *testing.T)
quit_lifecycle_test.go:142
Function
TestProgramQuitUnstarted
(t *testing.T)
quit_lifecycle_test.go:41
Function
TestProgramSendBeforeRunStillWaits
(t *testing.T)
quit_lifecycle_test.go:189
Function
TestProgressBarStateStringOutOfRange
TestProgressBarStateStringOutOfRange is a regression test for https://github.com/charmbracelet/bubbletea/issues/1711: String panicked with an index-ou
tea_test.go:995
Function
TestReleaseRestoreTerminalClosesCancelReader
Every ReleaseTerminal/RestoreTerminal cycle (Exec, suspend) replaces the input cancel reader. The replaced reader must be closed, or its epoll file de
tty_linux_test.go:50
Function
TestReleaseTerminalWithNilInputDoesNotWait
(t *testing.T)
exec_test.go:141
Function
TestRendererQuitWhileParked
(t *testing.T)
renderer_park_test.go:254
Function
TestRendererStopsTickingWhenIdle
(t *testing.T)
renderer_park_test.go:205
Function
TestRendererWakes
Every way of giving the renderer work must wake it.
renderer_park_test.go:220
Function
TestSequence
(t *testing.T)
commands_test.go:35
Function
TestTeaBatchMsg
(t *testing.T)
tea_test.go:452
Function
TestTeaContext
(t *testing.T)
tea_test.go:355
Function
TestTeaContextBatchDeadlock
(t *testing.T)
tea_test.go:416
Function
TestTeaContextImplodeDeadlock
(t *testing.T)
tea_test.go:389
Function
TestTeaExec
(t *testing.T)
exec_test.go:62
Function
TestTeaExecWithNilInput
(t *testing.T)
exec_test.go:123
Function
TestTeaGoroutinePanic
(t *testing.T)
tea_test.go:742
Function
TestTeaKill
(t *testing.T)
tea_test.go:322
Function
TestTeaModel
(t *testing.T)
tea_test.go:74
Function
TestTeaNestedSequenceMsg
(t *testing.T)
tea_test.go:541
Function
TestTeaNoCapabilityQueryWithoutInput
TestTeaNoCapabilityQueryWithoutInput is a regression test for https://github.com/charmbracelet/gum/issues/1118: programs without input can't read the
tea_test.go:848
Function
TestTeaNoRun
(t *testing.T)
tea_test.go:631
Function
TestTeaNoTerminalQueriesWithoutInput
TestTeaNoTerminalQueriesWithoutInput is a regression test for https://github.com/charmbracelet/gum/issues/1118: programs without input can't read the
tea_test.go:937
Function
TestTeaPanic
(t *testing.T)
tea_test.go:711
Function
TestTeaQuit
(t *testing.T)
tea_test.go:119
Function
TestTeaRunTwice
TestTeaRunTwice is a regression test for running a Program a second time after the first Run returned. Run resets its per-run state (handlers, finishe
tea_test.go:671
Function
TestTeaSend
(t *testing.T)
tea_test.go:566
Function
TestTeaSequenceMsg
(t *testing.T)
tea_test.go:488
Function
TestTeaSequenceMsgWithBatchMsg
(t *testing.T)
tea_test.go:513
Function
TestTeaWaitKill
(t *testing.T)
tea_test.go:198
Function
TestTeaWaitQuit
(t *testing.T)
tea_test.go:144
Function
TestTeaWithFilter
(t *testing.T)
tea_test.go:277
Function
TestTick
(t *testing.T)
commands_test.go:19
Function
TestTranslateProgramStatusSupport
(t *testing.T)
programstatus_test.go:83
Function
TestViewModel
(t *testing.T)
screen_test.go:61
Method
Title
()
examples/list-default/main.go:18
Method
Update
(msg Msg)
tty_linux_test.go:20
Method
Update
(msg Msg)
cursed_renderer_test.go:164
Method
Update
(msg Msg)
exec_test.go:34
Method
Update
(msg Msg)
exec_test.go:169
Method
Update
(msg Msg)
quit_lifecycle_test.go:23
Method
Update
(msg Msg)
tty_test.go:17
Method
Update
(msg Msg)
tea_test.go:42
Method
Update
(msg Msg)
tea_test.go:655
Method
Update
(msg Msg)
tea_test.go:786
Method
Update
(Msg)
tea_test.go:840
Method
Update
(msg Msg)
tea_test.go:912
Method
Update
(msg Msg)
screen_test.go:37
Method
Update
(msg Msg)
renderer_park_test.go:78
Method
Update
(msg tea.Msg)
examples/progress-animated/main.go:49
Method
Update
(msg tea.Msg)
examples/list-fancy/main.go:109
Method
Update
(msg tea.Msg)
examples/progress-download/tui.go:39
Method
Update
(msg tea.Msg)
examples/paginator/main.go:66
Method
Update
(msg tea.Msg)
examples/spinners/main.go:50
Method
Update
(msg tea.Msg)
examples/stopwatch/main.go:53
Method
Update
(msg tea.Msg)
examples/split-editors/main.go:123
Method
Update
(msg tea.Msg)
examples/isbn-form/main.go:159
Method
Update
(msg tea.Msg)
examples/composable-views/main.go:81
← previous
next →
401–500 of 758, ranked by callers