API Reference beamtea v#0.1.2

View Source

Modules

beamtea — a delightful terminal UI framework for the BEAM, built on prim_tty and inspired by Bubble Tea and The Elm Architecture.

Pure interpretation of beamtea:cmd() values into a flat list of side-effects.

A small, electric colour palette inspired by Charmbracelet's Charm brand (lipgloss/bubbletea). Names map to xterm-256 colour indices so they render on any modern terminal.

A bubble: a blinking cursor, mirroring the cursor package in charmbracelet/bubbles.

A bubble: a filesystem picker, mirroring the filepicker package in charmbracelet/bubbles.

A bubble: a help view that renders beamtea_keybind bindings, mirroring the help package in charmbracelet/bubbles.

Decode a stream of raw terminal bytes into high-level key events.

A bubble: key bindings (the key package in charmbracelet/bubbles).

Position a block of content within the full terminal.

A bubble: a scrollable, selectable list.

A bubble: a paginator (dots or "N/M"), mirroring the paginator package in charmbracelet/bubbles.

A bubble: a horizontal progress bar with an electric gradient.

Turn a view (the full desired screen contents) into the byte stream that redraws the terminal.

The event loop that owns the terminal and drives an Elm program.

A bubble: an animated spinner.

A bubble: a count-up stopwatch, mirroring the stopwatch package in charmbracelet/bubbles.

A composable styling layer, inspired by charmbracelet/lipgloss.

A bubble: a scrollable, row-selectable data table, mirroring the table package in charmbracelet/bubbles.

Low-level ANSI/VT terminal escape sequences.

A bubble: a multi-line text area, mirroring the textarea package in charmbracelet/bubbles.

A bubble: a single-line text input.

A bubble: a countdown timer, mirroring the timer package in charmbracelet/bubbles.

Small shared helpers for beamtea bubbles.

A bubble: a scrollable viewport over a block of text, mirroring the viewport package in charmbracelet/bubbles.