bubbletea
bubbletea copied to clipboard
A powerful little TUI framework 🏗
Hey! This is my naive approach to fixing output flickering. Here are my thoughts behind the solution: - Flickering is caused by `ansi.EraseEntireLine` escape chars, because it allows the time,...
This PR solve issue #1167
This revision adds automatic word wrapping to the pager example. In particular, it exists to illustrate how to work around wrapping issues discussed in https://github.com/charmbracelet/bubbles/pull/578.
**Describe the bug** On Windows, if multiple Tea programs are run successively within the same process, the first program runs fine, but subsequent programs lose the first key pressed. The...
In `tmux` v3.5, at least.
This pull request removes the existing credit-card-form example and adds a general form validation example for registering a new user as per #1148. ## What was Removed - Removed `examples/credit-card-form/*`...
Per https://github.com/charmbracelet/bubbletea/discussions/1146, the validation example in Bubble Tea doesn't We should also change it to _not_ be a credit card example as it can lead users down the road of...
This revision expands the keyboard enhancements docs a little to help users find their way around the feature. One question, @aymanbagabas: is it possible to disable keyboard enhancements on Windows?...
```go package main import ( "fmt" "io" "os" "os/exec" tea "github.com/charmbracelet/bubbletea" ) type editorFinishedMsg struct{ err error } func openEditor() tea.Cmd { return tea.Exec(&echo{}, func(err error) tea.Msg { return err...
To try it yourself: `cd examples/table && go run .` You'll be able to play with the table example using the table bubble rendered with lipgloss. Dependencies are pinned to...