Comments (2)
Unfortunately, my PR that would have made it work was not merged because it was a big code change and after a while, the branches diverged too much.
The issue is that each promptkit
prompt is a single bubbletea
"program". This means that multiple prompts result in multiple programs. However, bubbletea
assumes that you only ever run a single bubbletea
program in the lifetime of your entire process. Initially, they used a hack to read the input that resulted in a buggy input for subsequent bubbletea
programs. I was able to fix that for Unix-like OSs but the fix for Windows needed a much larger redesign which was ultimately not merged.
from promptkit.
I see, thanks for the explanation @erikgeiser!
from promptkit.
Related Issues (15)
- Multiple Selections HOT 8
- Integrate with bubbletea HOT 5
- Update preview clips in README
- Choices example not refactored HOT 2
- Selection example not up-to-date HOT 2
- Tests fail with github.com/muesli/termenv v0.13.0 HOT 3
- Init page of paged choices are in a weird order
- Latest bubbles break promptkit HOT 5
- error: running prompt: unable to set console to raw mode: HOT 3
- selection.New(selection.Choice[T]) doesn't work HOT 7
- can't use confirmation prompt as a bubbletea model HOT 6
- selection widget fails silently on empty choice list
- request: add text area HOT 1
- Allow to browse suggestions in textinput
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 promptkit.