How to make bubbletea/huh capture info like gum? #570
Unanswered
jmonroynieto
asked this question in
Q&A
Replies: 1 comment
-
I've been trying to follow execution for this one but it requires understanding the korg cli internals, which I don't. There is a workaround I found as part of a bubbletea issue that might work for UNIX-based systems. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on a TUI to capture flag values. I didn't want to use gum because
it would take multiple submission rounds to get 4+ flagsI wanted it to look exactly like I wanted, I am using a bubble tea program that handles huh.Forms as part of its model instead.When I run the program now, à la gum, I use a command
x=$(./myprogram)
substitution to capture the final string of flags, however, my command hangs, my guess is that the substitution gets in the way.
Could you let me know whether gum has something that enables it to run in command substitution?
Beta Was this translation helpful? Give feedback.
All reactions