Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charmbracelet/bubbles
/ functions
Functions
843 in github.com/charmbracelet/bubbles
⨍
Functions
843
◇
Types & classes
115
Method
String
String returns the cursor mode in a human-readable format. This method is provisional and for informational purposes only.
cursor/cursor.go:55
Method
Styles
Styles returns the current set of styles.
textinput/textinput.go:192
Function
TestAcceptSuggestionAfterSetValue
(t *testing.T)
textinput/textinput_test.go:341
Function
TestAutoResizeKeepsFirstSoftWrappedRowVisible
(t *testing.T)
textarea/textarea_test.go:178
Function
TestBackspaceDeletesSelection
(t *testing.T)
textarea/textarea_test.go:3076
Function
TestBackspaceRemovesEmojiSequenceWhole
(t *testing.T)
textarea/grapheme_cursor_test.go:66
Function
TestBackspaceRemovesMarkWithoutConsonant
(t *testing.T)
textarea/grapheme_cursor_test.go:32
Function
TestBinding_Enabled
(t *testing.T)
key/key_test.go:7
Function
TestBlend
(t *testing.T)
progress/progress_test.go:70
Function
TestBlinkCmdDataRace
TestBlinkCmdDataRace tests for a race on [Cursor.blinkTag]. The original [Model.Blink] implementation returned a closure over the pointer receiver:
cursor/cursor_test.go:34
Function
TestCache
(t *testing.T)
internal/memoization/memoization_test.go:31
Function
TestCanHandleEmoji
(t *testing.T)
textarea/textarea_test.go:273
Function
TestCharLimitWideRunes
(t *testing.T)
textarea/textarea_test.go:2779
Function
TestChinesePlaceholder
(t *testing.T)
textinput/textinput_test.go:103
Function
TestClearSelection
(t *testing.T)
textarea/textarea_test.go:3001
Function
TestClearSelectionAPI
(t *testing.T)
textarea/selection_test.go:149
Function
TestClickMapsToGraphemeStart
(t *testing.T)
textarea/grapheme_cursor_test.go:89
Function
TestClickWithoutDragMakesNoSelection
(t *testing.T)
textarea/selection_test.go:123
Function
TestCopyErrMsgUnwrap
(t *testing.T)
textarea/textarea_test.go:3260
Function
TestCursorNavigation
(t *testing.T)
table/table_test.go:364
Function
TestCustomStatusBarItemName
(t *testing.T)
list/list_test.go:67
Function
TestDefaultKeyMapQuit
(t *testing.T)
list/list_test.go:34
Function
TestDeleteForwardDeletesSelection
(t *testing.T)
textarea/textarea_test.go:3102
Function
TestDeleteSelectionMultiLine
(t *testing.T)
textarea/textarea_test.go:3169
Function
TestDeleteWordForwardAtWordEnd
(t *testing.T)
textinput/textinput_test.go:192
Function
TestDeleteWordLeftKeepsSpaceGrapheme
(t *testing.T)
textarea/grapheme_cursor_test.go:154
Function
TestDidSelectFileRequiresPath
TestDidSelectFileRequiresPath asserts that a selection is only reported once a path has actually been selected.
filepicker/filepicker_test.go:62
Function
TestDoubleStartDoesNotSpeedUpTimer
TestDoubleStartDoesNotSpeedUpTimer verifies that calling Start() twice does not cause the timer to tick faster than the interval. This is a regression
timer/timer_test.go:13
Function
TestDoubleStopDoesNotCauseIssues
TestDoubleStopDoesNotCauseIssues verifies that calling Stop() twice does not cause any issues.
timer/timer_test.go:62
Function
TestDuplicateTickStreamDoesNotPermanentlyDoubleSpeed
TestDuplicateTickStreamDoesNotPermanentlyDoubleSpeed reproduces https://github.com/charmbracelet/bubbles/issues/1007: the tag-based debounce guard in
timer/timer_test.go:352
Function
TestDynamicHeight_CursorPositionAfterGrow
(t *testing.T)
textarea/textarea_test.go:2403
Function
TestDynamicHeight_CursorPositionAfterPaste
(t *testing.T)
textarea/textarea_test.go:2456
Function
TestDynamicHeight_CursorPositionAfterShrink
(t *testing.T)
textarea/textarea_test.go:2427
Function
TestDynamicHeight_DefaultUnchanged
(t *testing.T)
textarea/textarea_test.go:2269
Function
TestDynamicHeight_GrowsOnNewline
(t *testing.T)
textarea/textarea_test.go:2283
Function
TestDynamicHeight_GrowsOnPaste
(t *testing.T)
textarea/textarea_test.go:2364
Function
TestDynamicHeight_GrowsOnSoftWrap
(t *testing.T)
textarea/textarea_test.go:2303
Function
TestDynamicHeight_RecalculatesOnSetValue
(t *testing.T)
textarea/textarea_test.go:2393
Function
TestDynamicHeight_RecalculatesOnSetWidth
(t *testing.T)
textarea/textarea_test.go:2375
Function
TestDynamicHeight_RespectsMaxHeight
(t *testing.T)
textarea/textarea_test.go:2350
Function
TestDynamicHeight_RespectsMinHeight
(t *testing.T)
textarea/textarea_test.go:2340
Function
TestDynamicHeight_ShrinksOnLineDeletion
(t *testing.T)
textarea/textarea_test.go:2316
Function
TestDynamicHeight_ShrinksWhenScrolledAndLinesDeleted
(t *testing.T)
textarea/textarea_test.go:2691
Function
TestDynamicHeight_ShrinksWhenScrolledNoMaxContent
(t *testing.T)
textarea/textarea_test.go:2730
Function
TestElapsedAdvancesWithTimeWhileRunning
(t *testing.T)
stopwatch/stopwatch_test.go:15
Function
TestExtendSelectionRequiresBegin
(t *testing.T)
textarea/selection_test.go:138
Function
TestFilterMatchedIndexesAreRunePositions
(t *testing.T)
list/list_test.go:173
Function
TestFullHelp
(t *testing.T)
help/help_test.go:14
Function
TestFullHelpStylesColumnPadding
(t *testing.T)
help/help_test.go:43
Function
TestFullHelpStylesColumnPaddingSkipsDisabledBindings
(t *testing.T)
help/help_test.go:69
Function
TestGraphemeNavigationKeepsASCIIStepsAndSkipsEmojiCluster
(t *testing.T)
textarea/grapheme_test.go:45
Function
TestIDReturnsCorrectID
TestIDReturnsCorrectID verifies that ID() returns the timer's ID.
timer/timer_test.go:307
Function
TestIndicConjunctIsOneGrapheme
(t *testing.T)
textarea/grapheme_cursor_test.go:163
Function
TestInitStartsTimer
TestInitStartsTimer verifies that Init returns a tick command.
timer/timer_test.go:203
Function
TestInsertString
(t *testing.T)
textarea/textarea_test.go:251
Function
TestItemsOnPage
(t *testing.T)
paginator/paginator_test.go:160
Function
TestKeyPressClearsSelection
(t *testing.T)
textarea/selection_test.go:180
Function
TestKeysBeforeEntriesLoad
TestKeysBeforeEntriesLoad asserts that navigation keys pressed while the directory is still being read do not leave the selection out of range once th
filepicker/filepicker_test.go:91
Function
TestLoadedPickerDoesNotNavigatePastLastEntry
(t *testing.T)
filepicker/filepicker_test.go:134
Function
TestLoadedPickerSelectsFile
(t *testing.T)
filepicker/filepicker_test.go:121
Function
TestMatchesToHighlights
(t *testing.T)
viewport/viewport_test.go:411
Function
TestMatchesToHighlights_ANSI
(t *testing.T)
viewport/viewport_test.go:560
Function
TestMaxContentHeight_BackwardCompat
(t *testing.T)
textarea/textarea_test.go:2514
Function
TestMaxContentHeight_BlocksAtLimit
(t *testing.T)
textarea/textarea_test.go:2494
Function
TestMaxContentHeight_CursorVisibleWhileScrolling
(t *testing.T)
textarea/textarea_test.go:2559
Function
TestMaxContentHeight_Insertion
(t *testing.T)
textarea/textarea_test.go:2578
Function
TestMaxContentHeight_PasteCapped
(t *testing.T)
textarea/textarea_test.go:2674
Function
TestMaxContentHeight_ScrollsBeyondMaxHeight
(t *testing.T)
textarea/textarea_test.go:2475
Function
TestMaxContentHeight_SingleRuneAtLimit
(t *testing.T)
textarea/textarea_test.go:2646
Function
TestMaxContentHeight_WithoutDynamicHeight
(t *testing.T)
textarea/textarea_test.go:2534
Function
TestModel_FromValues
(t *testing.T)
table/table_test.go:211
Function
TestModel_FromValues_MoreValuesThanColumns
(t *testing.T)
table/table_test.go:1023
Function
TestModel_FromValues_WithTabSeparator
(t *testing.T)
table/table_test.go:230
Function
TestModel_RenderRow
(t *testing.T)
table/table_test.go:248
Function
TestModel_RenderRow_AnsiWidth
(t *testing.T)
table/table_test.go:292
Function
TestModel_RenderRow_MoreCellsThanColumns
(t *testing.T)
table/table_test.go:1001
Function
TestModel_SetColumns
(t *testing.T)
table/table_test.go:702
Function
TestModel_SetRows
(t *testing.T)
table/table_test.go:683
Function
TestModel_SetRows_NoColumns
(t *testing.T)
table/table_test.go:1014
Function
TestModel_View
(t *testing.T)
table/table_test.go:721
Function
TestModel_View_CenteredInABox
TODO: Fix table to make this test will pass.
table/table_test.go:973
Function
TestMoveDownAfterUpsKeepsViewport
TestMoveDownAfterUpsKeepsViewport checks the mirror case: after stepping up twice from the last row, stepping down again must only move the cursor. Se
table/table_test.go:527
Function
TestMoveLeft
(t *testing.T)
viewport/viewport_test.go:128
Function
TestMoveRight
(t *testing.T)
viewport/viewport_test.go:164
Function
TestMoveUpFromBottomKeepsViewport
TestMoveUpFromBottomKeepsViewport checks that stepping up from the last row only moves the cursor: the visible window must not scroll while the cursor
table/table_test.go:496
Function
TestNaNAnimationRecovery
(t *testing.T)
progress/progress_test.go:40
Function
TestNavigateWithoutWindowSize
TestNavigateWithoutWindowSize asserts that a file picker which never receives a tea.WindowSizeMsg still renders its entries after entering a directory
filepicker/filepicker_test.go:39
Function
TestNew
(t *testing.T)
paginator/paginator_test.go:9
Function
TestNew
(t *testing.T)
table/table_test.go:22
Function
TestNew
(t *testing.T)
viewport/viewport_test.go:51
Function
TestNewDefaultInterval
(t *testing.T)
stopwatch/stopwatch_test.go:8
Function
TestNew_RowsWithoutColumns
(t *testing.T)
table/table_test.go:1032
Function
TestNewlineReplacesSelection
(t *testing.T)
textarea/textarea_test.go:3146
Function
TestNextPage
(t *testing.T)
paginator/paginator_test.go:87
Function
TestNodeSetValue
(t *testing.T)
tree/node_value_test.go:14
Function
TestOnFirstPage
(t *testing.T)
paginator/paginator_test.go:136
Function
TestOnLastPage
(t *testing.T)
paginator/paginator_test.go:112
Function
TestPageScrollWithFrame
(t *testing.T)
viewport/viewport_test.go:849
Function
TestPasteErrMsgUnwrap
(t *testing.T)
textarea/textarea_test.go:3235
Function
TestPasteErrMsgUnwrap
(t *testing.T)
textinput/textinput_test.go:234
← previous
next →
601–700 of 843, ranked by callers