bubbletea
bubbletea copied to clipboard
A powerful little TUI framework 🏗
### Steps to reproduce 1. Run GNU Screen (I'm running it in an OSX Terminal) 2. In the bubbletea repo, `go run examples/fullscreen/main.go` Expected result: Screen is cleared and you...
# :wave: Hello :smile: While trying out some components from [Bubbles](https://github.com/charmbracelet/bubbles) I ran into an issue with the text-area component -- [Full example on playground](https://goplay.tools/snippet/sdOH7TTJ1XO) -- there were two things...
Bubbletea does not respect the current codepage while parsing the console input from a user: https://github.com/charmbracelet/bubbletea/blob/624343388b02eb2f5199ee8fcd29961ba3b17581/key.go#L515 It assumes the input encoding is utf8. I'm using [Windows Terminal](https://github.com/microsoft/terminal). And `chcp` ```bash...
Some fixes I made while playing around with this example. Thanks!
Hey, thanks for awesome project. I've created 2 different `tea.Program`: 1. program1: Just a simple `spinner` (that included in [examples](https://github.com/charmbracelet/bubbletea/blob/master/examples/spinners/main.go) already) 2. program2: Full screen program (`tea.WithAltScreen()`). What I want...
Hey, I was trying [pager](https://github.com/charmbracelet/bubbletea/blob/master/examples/pager/main.go) example. Added a ticker func into `Init` funciton as follows: ``` func (m model) Init() tea.Cmd { return tea.Tick(5*time.Second, func(t time.Time) tea.Msg { return tickMsg(t)...
## Description The program output gets printed to the terminal when Bubble Tea applications exit alt screen when `tea.ExecProcess` is called. ## How to replicate You can see a clear...
This can be used in e.g. textarea / textinput to enable "overwrite mode". cc @muesli