bubbles
bubbles copied to clipboard
TUI components for Bubble Tea 🫧
I build this for my current project. Thought it might be a feature that would make the `textinput` more glamorous. It will enabled the setting of a value that the...
**WIP** Added code to make table widths dynamic and flexible as per the viewport size In my example code below, you can see I also set some of the row...
I had a go at adding a 'tab' module. Preview: https://i.imgur.com/rYB8pNf.jpg  To run: ```go package main import ( "fmt" "github.com/charmbracelet/bubbles/tabs" tea "github.com/charmbracelet/bubbletea" ) type model struct { tabsModel *tabs.Model...
How does it determine which line of the list the mouse is in? I need to list support mouse click event.
Bubbles' (visual) components should likely adhere/implement a `bubble.Model` interface so that we can help with layout management i.e. automatic resizing and layout management which is getting slightly repetitive in most...
This PR extracts the original cursor logic to the cursor bubble.
Rationale: I want to write a function that works with any kind of component. I'm not seeing how to achieve this cleanly, since components actually do not satisfy the `github.com/charmbracelet/bubbletea.Model`...
Hey folks, noticed a potential bug in the textarea bubble. I put up an app reproducing it here: https://github.com/robinovitch61/textarea_bug/blob/main/textarea/textarea.go#L856
Like this: https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR