Comments (6)
Hi everyone! It’s really nice to see some interest here. This is part of a fairly big feature that’s currently in development and scheduled for release in 2022. We’ll keep this thread updated as we get closer to a release.
from bubbletea.
Hi! My apologies for this dragging for so long. This definitely is still something we're working towards—albeit slowly as it's also part of a larger initiative.
In the meantime, I'd have a look at charmbracelet/lipgloss#102 as a viable workaround. We've seen users typically break out the functionality shown in the PR to a local function in their projects.
from bubbletea.
I think you can listen to mouse events in your update function to reposition and add components. https://pkg.go.dev/github.com/charmbracelet/bubbletea#MouseEvent
But it would be nice to showcase that in examples/
.
from bubbletea.
It would be great if there was an example with this function, so far I have not seen a similar function in another TUI package.
from bubbletea.
Hi, any update to this @meowgorithm ?
from bubbletea.
Nice to see a recent update on this. Any chance this kind of work, along with anything going on to support "z-index" display layouts could be published in the X repo so we'd have a chance to provide feedback, possible PRs, etc? The alternative is to keep banging along with personal attempts that may be completely out of alignment.
from bubbletea.
Related Issues (20)
- Viewport component fails to scroll after HTTP request HOT 1
- External process input errors when using `cmd.exe` HOT 3
- Application deadlock when initial model's init panics HOT 1
- `[ctrl+enter]` Support HOT 5
- text rendering incorrectly using serial data HOT 7
- Stopwatch example does not run correctly on Windows HOT 1
- How to use bubbletea and gum in existing cli which was built using cobra cli framework?
- kill the process but the mouse code still output in the console HOT 3
- A feature to avoid IDE extensions and build them in cli HOT 2
- Unmanaged Output Truncation (e.g. `tea.Println`) HOT 1
- Show example GIFs on all examples HOT 1
- The input isn't verified before using epoll on it HOT 3
- go version in go.mod is outdated HOT 2
- does Update() get called even when there are no keys being pressed?
- Can't write japanese characters in inputfield HOT 2
- Exit with error message to stderr and non-zero status code
- Async Clipboard
- Automatic command chaining: Cmd -> Cmd -> Msg HOT 1
- Allow WindowSizeMsg to be sent on sub-model Init HOT 5
- Progress bar behaving strangely
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bubbletea.