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
I am working on a BASH script that uses gum to prompt the user for input and then generates a java project based on that input. I am trying to automate the testing of my script and I am wondering how I can pass the arrow keys and the enter key via standard in to the gum binary in a shell environment. Is this something that is supported right now?
echo "text\n" | gum input
^this doesn't work as of right now nor does the use of \r or the encoded value for the enter key.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am working on a BASH script that uses gum to prompt the user for input and then generates a java project based on that input. I am trying to automate the testing of my script and I am wondering how I can pass the arrow keys and the enter key via standard in to the gum binary in a shell environment. Is this something that is supported right now?
^this doesn't work as of right now nor does the use of \r or the encoded value for the enter key.
Beta Was this translation helpful? Give feedback.
All reactions