Registry / cli / charmbracelet-bubbletea

charmbracelet-bubbletea

JSON →
library1.3.10gogounverified

Package tea provides a framework for building rich terminal user interfaces based on The Elm Architecture.

go get github.com/charmbracelet/bubbletea
INSTALL
IMPORT
SIG · CHARMBRACELET-BUBB
C
charmbracelet-bubbletea
cligov1.3.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tea
github.com/charmbracelet/bubbletea

Minimal Bubble Tea program

package main import ( "fmt" "os" tea "github.com/charmbracelet/bubbletea" ) type model struct{} func (m model) Init() tea.Cmd { return nil } func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return m, nil } func (m model) View() string { return "Hello, TUI!" } func main() { p := tea.NewProgram(model{}) if _, err := p.Run(); err != nil { fmt.Println(err) os.Exit(1) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.10latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
Resources
charmbracelet-bubbletea — go get charmbracelet-bubbletea · libregistry