You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have some scripts where gum table is used to offer menu style selections. After upgrading to v0.15.0 I cannot make selections anymore, the code sections only produce static output instead of interactive output.
To Reproduce
Steps to reproduce the behavior:
Create and run the example script
Example code:
#!/bin/bash
MAIN_ITEMS="COMMAND;EXPLANATION\ntest1;Some explanation\ntest2;Some explanation\ntest3;Some explanation\n"# Test Case 1
SELECTION="$(echo -e "${MAIN_ITEMS}" \| gum table -s ";")"echo"${SELECTION##*;}"# Test Case 2echo -e "${MAIN_ITEMS}" \
| gum table -s ";"
Expected behavior
Before v0.15.0 Test Case 1 used to work the same way as Test Case 2. Both would bring up a kind of menu where the user can make a selection.
After upgrading to v0.15.0 Test Case 1 got turned into static text output with a table drawn around it and no selection possible. Test Case 2 still works as expected, but using gum only in this way severely reduces its usefulness.
Screenshots
See explanation one paragraph above.
I can see that the line with test one is in bold, but that's it, it's just static text.
Desktop (please complete the following information):
OS: Ubuntu 24.04
Browser [e.g. chrome, safari]
It's gum, I'm using it in a terminal, it this the right template?
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have some scripts where gum table is used to offer menu style selections. After upgrading to v0.15.0 I cannot make selections anymore, the code sections only produce static output instead of interactive output.
To Reproduce
Steps to reproduce the behavior:
Example code:
Expected behavior
Before v0.15.0 Test Case 1 used to work the same way as Test Case 2. Both would bring up a kind of menu where the user can make a selection.
After upgrading to v0.15.0 Test Case 1 got turned into static text output with a table drawn around it and no selection possible. Test Case 2 still works as expected, but using gum only in this way severely reduces its usefulness.
Screenshots
See explanation one paragraph above.
I can see that the line with test one is in bold, but that's it, it's just static text.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: