blob: 0565ff5c8b6b60fc49480a4f43ac25f8a461b492 (
plain)
1
2
3
4
5
6
7
8
9
|
With this example you will discover how easily you can ask a user to
confirm a previous choice
First, make sure to make yesno.sh executable (chmod +x yesno.sh) and
enter: ./yesno.sh
The screenshot shows three use cases, one when just hitting 'Enter',
one when moving the cursor to YES before hitting 'Enter' and the last
one when just hitting 'q'
|