File: README

package info (click to toggle)
smenu 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,696 kB
  • sloc: ansic: 18,236; sh: 4,662; makefile: 25
file content (9 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (3)
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'