bubbletea
bubbletea copied to clipboard
A powerful little TUI framework 🏗
This enables callers to supply their own form of TTY cancellation. We have our own Windows TTY library based on ConPTY, and would like to use it with bubbletea, but...
For performance sake, consider passing ` func (p Program) restoreTerminal() error { showCursor(p.output) ` Program as a pointer instead of the value itself.
If the final call to `View()` (after emitting `tea.Quit`) does not end with a newline it is immediately overwritten by the shell prompt or by any other output. This can...
https://github.com/charmbracelet/bubbletea/blob/14e58aa1f92fa9bd756d9e739ce63a39e98a39ac/tea.go#L584 This is an important function, which will be called by every beginner user in every program. - "Ignores the final model." is not a complete sentence, and I don't...
Hi! I encountered some strange issue with my project: https://fx.wtf If I do go run, everything works. ``` node -e 'console.log(123)' | go run . ``` But if I do...
Added a project I've been working on to find and preview notes, to the README file. Noted shows one of many ways you can use `viewports` from `bubbles` with `bubbletea`....
This PR implements reading [INPUT_RECORD](https://docs.microsoft.com/en-us/windows/console/input-record-str)s on Windows in order to support richer keyboard and mouse events and window resize events. Fixes #121.
How to enable this feature (drag and drop), seen on the official Bubbletea website. https://www.charm.sh/libs/ https://stuff.charm.sh/carts/bubbletea.mp4
Use `WithPanicHandler()` to pass a function that gets executed on panics