Sample Header Ad - 728x90

Press SPACE to continue (not ENTER)

9 votes
1 answer
2574 views
I know this question has been already asked & answered, but the solution I found listens for space **and enter**: while [ "$key" != '' ]; do read -n1 -s -r key done Is there a way (in **bash**) to make a script that will wait **only** for the space bar?
Asked by adazem009 (661 rep)
Oct 17, 2020, 07:03 AM
Last activity: Oct 17, 2020, 07:17 AM