pkg/

directory
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT

Directories

Path Synopsis
Package action is a screen's verbs: the named things a user can do to whatever is currently selected, declared as data rather than wired up as keypresses.
Package action is a screen's verbs: the named things a user can do to whatever is currently selected, declared as data rather than wired up as keypresses.
Package alert provides a modal acknowledgement dialog component.
Package alert provides a modal acknowledgement dialog component.
Package ansi holds small, dependency-free ANSI helpers for the corners of the library where lipgloss's full \x1b[0m reset is the wrong tool — most notably cells inside a styled row (e.g.
Package ansi holds small, dependency-free ANSI helpers for the corners of the library where lipgloss's full \x1b[0m reset is the wrong tool — most notably cells inside a styled row (e.g.
Package app is the standard TUI shell: a breadcrumb header, a flex body that renders the active screen's layout, and a statusbar footer.
Package app is the standard TUI shell: a breadcrumb header, a flex body that renders the active screen's layout, and a statusbar footer.
Package breadcrumb renders a single-line breadcrumb trail like "Root › Modules › dev" for use as a TUI header bar.
Package breadcrumb renders a single-line breadcrumb trail like "Root › Modules › dev" for use as a TUI header bar.
Package config carries the user-supplied YAML config that any tuilib component can consult.
Package config carries the user-supplied YAML config that any tuilib component can consult.
Package confirm provides a modal yes/no dialog component.
Package confirm provides a modal yes/no dialog component.
Package filter provides a single-line textinput wrapped in a pane — the "press / to search, enter to commit, esc to clear" pattern every TUI eventually needs.
Package filter provides a single-line textinput wrapped in a pane — the "press / to search, enter to commit, esc to clear" pattern every TUI eventually needs.
Package focus owns "which component currently has the keyboard" for a screen with more than one interactive component.
Package focus owns "which component currently has the keyboard" for a screen with more than one interactive component.
Package form is a vertical form component: a sequence of Text, Select, and Confirm fields with tab/shift-tab focus cycling and a submit button.
Package form is a vertical form component: a sequence of Text, Select, and Confirm fields with tab/shift-tab focus cycling and a submit button.
Package geom carries the geometry primitives shared by pkg/layout and the components it places.
Package geom carries the geometry primitives shared by pkg/layout and the components it places.
Package help renders key-binding hints in three shapes:
Package help renders key-binding hints in three shapes:
Package input provides a single-line text input wrapped in a pane — a theme-styled, bordered text field with a title slot on the border.
Package input provides a single-line text input wrapped in a pane — a theme-styled, bordered text field with a title slot on the border.
Package inspector provides a two-column label/value viewer for structured records — pod specs, REST responses, Prefect run details, any "show me the fields of this thing" surface.
Package inspector provides a two-column label/value viewer for structured records — pod specs, REST responses, Prefect run details, any "show me the fields of this thing" surface.
Package layout is a tiny declarative engine for composing Bubble Tea view strings.
Package layout is a tiny declarative engine for composing Bubble Tea view strings.
Package list provides a cursor-driven, optionally filterable list inside a bordered pane.
Package list provides a cursor-driven, optionally filterable list inside a bordered pane.
Package logview is a streaming text viewer with incremental search and keyboard navigation, wrapped in a pane.
Package logview is a streaming text viewer with incremental search and keyboard navigation, wrapped in a pane.
Package metrics renders small inline summaries — status badges, ratios, progress bars, sparklines — sized to fit inside list rows, table cells, or inspector values without breaking outer SGR state.
Package metrics renders small inline summaries — status badges, ratios, progress bars, sparklines — sized to fit inside list rows, table cells, or inspector values without breaking outer SGR state.
Package mouse carries the mouse event tuilib components actually handle, and the click-counting that turns raw presses into single and double clicks.
Package mouse carries the mouse event tuilib components actually handle, and the click-counting that turns raw presses into single and double clicks.
Package output is the app-wide console: one ring buffer of everything the app has said, and a screen for reading it.
Package output is the app-wide console: one ring buffer of everything the app has said, and a screen for reading it.
Package pane provides a bordered, titled, scrollable region for Bubble Tea TUIs.
Package pane provides a bordered, titled, scrollable region for Bubble Tea TUIs.
Package poll is a thin interval-driven ticker for screens that need to auto-refresh remote state — k8s deployment status, Prefect runs, REST endpoints — without re-implementing the same tea.Tick + generation- counter dance every time.
Package poll is a thin interval-driven ticker for screens that need to auto-refresh remote state — k8s deployment status, Prefect runs, REST endpoints — without re-implementing the same tea.Tick + generation- counter dance every time.
Package query parses the filter grammar shared by tuilib's filterable components — the "bare substring / key:value column scope / ~regex" syntax pkg/table exposes in its filter bar.
Package query parses the filter grammar shared by tuilib's filterable components — the "bare substring / key:value column scope / ~regex" syntax pkg/table exposes in its filter bar.
Package runner runs work from inside a Bubble Tea program, in three shapes that differ in what happens to the terminal and to the output.
Package runner runs work from inside a Bubble Tea program, in three shapes that differ in what happens to the terminal and to the output.
Package screen defines a richer navigation model for pkg/app.
Package screen defines a richer navigation model for pkg/app.
Package source coordinates a windowed view over a paged remote source — the bookkeeping between "the user scrolled here" and "ask the server for that range", without ever doing the I/O itself.
Package source coordinates a windowed view over a paged remote source — the bookkeeping between "the user scrolled here" and "ask the server for that range", without ever doing the I/O itself.
Package statusbar renders a one-line status strip with left/center/right slots, modeled on pug's footer.
Package statusbar renders a one-line status strip with left/center/right slots, modeled on pug's footer.
Package tab provides a tabbed container that hosts multiple screen.Screen bodies inside one parent screen.
Package tab provides a tabbed container that hosts multiple screen.Screen bodies inside one parent screen.
Package table provides a cursor-driven, optionally filterable tabular view inside a bordered pane.
Package table provides a cursor-driven, optionally filterable tabular view inside a bordered pane.
Package textview is a read-only viewer for static text content, wrapped in a pane.
Package textview is a read-only viewer for static text content, wrapped in a pane.
Package theme collapses every color used by more than one tuilib component into a single struct.
Package theme collapses every color used by more than one tuilib component into a single struct.
Package toggle provides a yes/no (boolean) selector wrapped in a pane — two labelled buttons rendered side-by-side with the active side highlighted, inside a bordered titled box.
Package toggle provides a yes/no (boolean) selector wrapped in a pane — two labelled buttons rendered side-by-side with the active side highlighted, inside a bordered titled box.
Package tree provides a searchable, expand/collapse hierarchical view inside a bordered pane.
Package tree provides a searchable, expand/collapse hierarchical view inside a bordered pane.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL