pkg/

directory
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 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 activity is per-row in-flight state: the spinner and status label a table cell, list row or tree node shows while work against that specific row is running.
Package activity is per-row in-flight state: the spinner and status label a table cell, list row or tree node shows while work against that specific row is running.
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 banner draws a title in large block letters with a drop shadow, its faces swept by a colour gradient — the heading of an intro or sign-in screen.
Package banner draws a title in large block letters with a drop shadow, its faces swept by a colour gradient — the heading of an intro or sign-in screen.
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: the starting palette and surface, block-glyph support, the double-click window.
Package config carries the user-supplied YAML config that any tuilib component can consult: the starting palette and surface, block-glyph support, the double-click window.
Package confirm provides a modal yes/no dialog component.
Package confirm provides a modal yes/no dialog component.
Package eventlog shows Events and Lines read in order from a remote source too large to hold: an AWX job's events, an Elasticsearch index, a Prefect run's logs.
Package eventlog shows Events and Lines read in order from a remote source too large to hold: an AWX job's events, an Elasticsearch index, a Prefect run's logs.
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 form drawn as one card: each field a label over its value, a note under it saying what it is for, Submit and Cancel buttons, and a line of the keys that work.
Package form is a form drawn as one card: each field a label over its value, a note under it saying what it is for, Submit and Cancel buttons, and a line of the keys that work.
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 glyph collects the single-character marks tuilib components draw — row cursors, expand arrows, scrollbar thumbs, rules, sort indicators — into one vocabulary so a theme can set them once and every component agrees.
Package glyph collects the single-character marks tuilib components draw — row cursors, expand arrows, scrollbar thumbs, rules, sort indicators — into one vocabulary so a theme can set them once and every component agrees.
Package help renders key-binding hints in two shapes:
Package help renders key-binding hints in two 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 menu is a grouped, filterable list of things to open: the sections of an app, the screens a home page leads to.
Package menu is a grouped, filterable list of things to open: the sections of an app, the screens a home page leads to.
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 palette holds the colours an app is drawn in, and the built-in palettes: Dark, Nord, Catppuccin, the base16 schemes and the rest.
Package palette holds the colours an app is drawn in, and the built-in palettes: Dark, Nord, Catppuccin, the base16 schemes and the rest.
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 remote binds a component to a remote source, so a screen supplies only what varies between APIs — the fetch — and nothing of the routing between them.
Package remote binds a component to a remote source, so a screen supplies only what varies between APIs — the fetch — and nothing of the routing between them.
Package resume keeps a line stream resumable when its source can only be asked for "lines since time T", and T is coarser than the lines.
Package resume keeps a line stream resumable when its source can only be asked for "lines since time T", and T is coarser than the lines.
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 surface describes how a component's edge and body are drawn — a line border, a filled card, a header band, a drop shadow — as data, and derives the colours that data needs from a palette.
Package surface describes how a component's edge and body are drawn — a line border, a filled card, a header band, a drop shadow — as data, and derives the colours that data needs from a palette.
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