MCPcopy Create free account

hub / github.com/charmbracelet/bubbles / functions

Functions843 in github.com/charmbracelet/bubbles

MethodString
String returns the cursor mode in a human-readable format. This method is provisional and for informational purposes only.
cursor/cursor.go:55
MethodStyles
Styles returns the current set of styles.
textinput/textinput.go:192
FunctionTestAcceptSuggestionAfterSetValue
(t *testing.T)
textinput/textinput_test.go:341
FunctionTestAutoResizeKeepsFirstSoftWrappedRowVisible
(t *testing.T)
textarea/textarea_test.go:178
FunctionTestBackspaceDeletesSelection
(t *testing.T)
textarea/textarea_test.go:3076
FunctionTestBackspaceRemovesEmojiSequenceWhole
(t *testing.T)
textarea/grapheme_cursor_test.go:66
FunctionTestBackspaceRemovesMarkWithoutConsonant
(t *testing.T)
textarea/grapheme_cursor_test.go:32
FunctionTestBinding_Enabled
(t *testing.T)
key/key_test.go:7
FunctionTestBlend
(t *testing.T)
progress/progress_test.go:70
FunctionTestBlinkCmdDataRace
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
FunctionTestCache
(t *testing.T)
internal/memoization/memoization_test.go:31
FunctionTestCanHandleEmoji
(t *testing.T)
textarea/textarea_test.go:273
FunctionTestCharLimitWideRunes
(t *testing.T)
textarea/textarea_test.go:2779
FunctionTestChinesePlaceholder
(t *testing.T)
textinput/textinput_test.go:103
FunctionTestClearSelection
(t *testing.T)
textarea/textarea_test.go:3001
FunctionTestClearSelectionAPI
(t *testing.T)
textarea/selection_test.go:149
FunctionTestClickMapsToGraphemeStart
(t *testing.T)
textarea/grapheme_cursor_test.go:89
FunctionTestClickWithoutDragMakesNoSelection
(t *testing.T)
textarea/selection_test.go:123
FunctionTestCopyErrMsgUnwrap
(t *testing.T)
textarea/textarea_test.go:3260
FunctionTestCursorNavigation
(t *testing.T)
table/table_test.go:364
FunctionTestCustomStatusBarItemName
(t *testing.T)
list/list_test.go:67
FunctionTestDefaultKeyMapQuit
(t *testing.T)
list/list_test.go:34
FunctionTestDeleteForwardDeletesSelection
(t *testing.T)
textarea/textarea_test.go:3102
FunctionTestDeleteSelectionMultiLine
(t *testing.T)
textarea/textarea_test.go:3169
FunctionTestDeleteWordForwardAtWordEnd
(t *testing.T)
textinput/textinput_test.go:192
FunctionTestDeleteWordLeftKeepsSpaceGrapheme
(t *testing.T)
textarea/grapheme_cursor_test.go:154
FunctionTestDidSelectFileRequiresPath
TestDidSelectFileRequiresPath asserts that a selection is only reported once a path has actually been selected.
filepicker/filepicker_test.go:62
FunctionTestDoubleStartDoesNotSpeedUpTimer
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
FunctionTestDoubleStopDoesNotCauseIssues
TestDoubleStopDoesNotCauseIssues verifies that calling Stop() twice does not cause any issues.
timer/timer_test.go:62
FunctionTestDuplicateTickStreamDoesNotPermanentlyDoubleSpeed
TestDuplicateTickStreamDoesNotPermanentlyDoubleSpeed reproduces https://github.com/charmbracelet/bubbles/issues/1007: the tag-based debounce guard in
timer/timer_test.go:352
FunctionTestDynamicHeight_CursorPositionAfterGrow
(t *testing.T)
textarea/textarea_test.go:2403
FunctionTestDynamicHeight_CursorPositionAfterPaste
(t *testing.T)
textarea/textarea_test.go:2456
FunctionTestDynamicHeight_CursorPositionAfterShrink
(t *testing.T)
textarea/textarea_test.go:2427
FunctionTestDynamicHeight_DefaultUnchanged
(t *testing.T)
textarea/textarea_test.go:2269
FunctionTestDynamicHeight_GrowsOnNewline
(t *testing.T)
textarea/textarea_test.go:2283
FunctionTestDynamicHeight_GrowsOnPaste
(t *testing.T)
textarea/textarea_test.go:2364
FunctionTestDynamicHeight_GrowsOnSoftWrap
(t *testing.T)
textarea/textarea_test.go:2303
FunctionTestDynamicHeight_RecalculatesOnSetValue
(t *testing.T)
textarea/textarea_test.go:2393
FunctionTestDynamicHeight_RecalculatesOnSetWidth
(t *testing.T)
textarea/textarea_test.go:2375
FunctionTestDynamicHeight_RespectsMaxHeight
(t *testing.T)
textarea/textarea_test.go:2350
FunctionTestDynamicHeight_RespectsMinHeight
(t *testing.T)
textarea/textarea_test.go:2340
FunctionTestDynamicHeight_ShrinksOnLineDeletion
(t *testing.T)
textarea/textarea_test.go:2316
FunctionTestDynamicHeight_ShrinksWhenScrolledAndLinesDeleted
(t *testing.T)
textarea/textarea_test.go:2691
FunctionTestDynamicHeight_ShrinksWhenScrolledNoMaxContent
(t *testing.T)
textarea/textarea_test.go:2730
FunctionTestElapsedAdvancesWithTimeWhileRunning
(t *testing.T)
stopwatch/stopwatch_test.go:15
FunctionTestExtendSelectionRequiresBegin
(t *testing.T)
textarea/selection_test.go:138
FunctionTestFilterMatchedIndexesAreRunePositions
(t *testing.T)
list/list_test.go:173
FunctionTestFullHelp
(t *testing.T)
help/help_test.go:14
FunctionTestFullHelpStylesColumnPadding
(t *testing.T)
help/help_test.go:43
FunctionTestFullHelpStylesColumnPaddingSkipsDisabledBindings
(t *testing.T)
help/help_test.go:69
FunctionTestGraphemeNavigationKeepsASCIIStepsAndSkipsEmojiCluster
(t *testing.T)
textarea/grapheme_test.go:45
FunctionTestIDReturnsCorrectID
TestIDReturnsCorrectID verifies that ID() returns the timer's ID.
timer/timer_test.go:307
FunctionTestIndicConjunctIsOneGrapheme
(t *testing.T)
textarea/grapheme_cursor_test.go:163
FunctionTestInitStartsTimer
TestInitStartsTimer verifies that Init returns a tick command.
timer/timer_test.go:203
FunctionTestInsertString
(t *testing.T)
textarea/textarea_test.go:251
FunctionTestItemsOnPage
(t *testing.T)
paginator/paginator_test.go:160
FunctionTestKeyPressClearsSelection
(t *testing.T)
textarea/selection_test.go:180
FunctionTestKeysBeforeEntriesLoad
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
FunctionTestLoadedPickerDoesNotNavigatePastLastEntry
(t *testing.T)
filepicker/filepicker_test.go:134
FunctionTestLoadedPickerSelectsFile
(t *testing.T)
filepicker/filepicker_test.go:121
FunctionTestMatchesToHighlights
(t *testing.T)
viewport/viewport_test.go:411
FunctionTestMatchesToHighlights_ANSI
(t *testing.T)
viewport/viewport_test.go:560
FunctionTestMaxContentHeight_BackwardCompat
(t *testing.T)
textarea/textarea_test.go:2514
FunctionTestMaxContentHeight_BlocksAtLimit
(t *testing.T)
textarea/textarea_test.go:2494
FunctionTestMaxContentHeight_CursorVisibleWhileScrolling
(t *testing.T)
textarea/textarea_test.go:2559
FunctionTestMaxContentHeight_Insertion
(t *testing.T)
textarea/textarea_test.go:2578
FunctionTestMaxContentHeight_PasteCapped
(t *testing.T)
textarea/textarea_test.go:2674
FunctionTestMaxContentHeight_ScrollsBeyondMaxHeight
(t *testing.T)
textarea/textarea_test.go:2475
FunctionTestMaxContentHeight_SingleRuneAtLimit
(t *testing.T)
textarea/textarea_test.go:2646
FunctionTestMaxContentHeight_WithoutDynamicHeight
(t *testing.T)
textarea/textarea_test.go:2534
FunctionTestModel_FromValues
(t *testing.T)
table/table_test.go:211
FunctionTestModel_FromValues_MoreValuesThanColumns
(t *testing.T)
table/table_test.go:1023
FunctionTestModel_FromValues_WithTabSeparator
(t *testing.T)
table/table_test.go:230
FunctionTestModel_RenderRow
(t *testing.T)
table/table_test.go:248
FunctionTestModel_RenderRow_AnsiWidth
(t *testing.T)
table/table_test.go:292
FunctionTestModel_RenderRow_MoreCellsThanColumns
(t *testing.T)
table/table_test.go:1001
FunctionTestModel_SetColumns
(t *testing.T)
table/table_test.go:702
FunctionTestModel_SetRows
(t *testing.T)
table/table_test.go:683
FunctionTestModel_SetRows_NoColumns
(t *testing.T)
table/table_test.go:1014
FunctionTestModel_View
(t *testing.T)
table/table_test.go:721
FunctionTestModel_View_CenteredInABox
TODO: Fix table to make this test will pass.
table/table_test.go:973
FunctionTestMoveDownAfterUpsKeepsViewport
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
FunctionTestMoveLeft
(t *testing.T)
viewport/viewport_test.go:128
FunctionTestMoveRight
(t *testing.T)
viewport/viewport_test.go:164
FunctionTestMoveUpFromBottomKeepsViewport
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
FunctionTestNaNAnimationRecovery
(t *testing.T)
progress/progress_test.go:40
FunctionTestNavigateWithoutWindowSize
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
FunctionTestNew
(t *testing.T)
paginator/paginator_test.go:9
FunctionTestNew
(t *testing.T)
table/table_test.go:22
FunctionTestNew
(t *testing.T)
viewport/viewport_test.go:51
FunctionTestNewDefaultInterval
(t *testing.T)
stopwatch/stopwatch_test.go:8
FunctionTestNew_RowsWithoutColumns
(t *testing.T)
table/table_test.go:1032
FunctionTestNewlineReplacesSelection
(t *testing.T)
textarea/textarea_test.go:3146
FunctionTestNextPage
(t *testing.T)
paginator/paginator_test.go:87
FunctionTestNodeSetValue
(t *testing.T)
tree/node_value_test.go:14
FunctionTestOnFirstPage
(t *testing.T)
paginator/paginator_test.go:136
FunctionTestOnLastPage
(t *testing.T)
paginator/paginator_test.go:112
FunctionTestPageScrollWithFrame
(t *testing.T)
viewport/viewport_test.go:849
FunctionTestPasteErrMsgUnwrap
(t *testing.T)
textarea/textarea_test.go:3235
FunctionTestPasteErrMsgUnwrap
(t *testing.T)
textinput/textinput_test.go:234
← previousnext →601–700 of 843, ranked by callers