diff options
author | pgen <p.gen.progs@gmail.com> | 2018-03-03 17:40:48 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2018-03-03 17:40:48 +0100 |
commit | 4773787638cb7b87d7d75cc38d1eebf56d2d77f6 (patch) | |
tree | ec807d08951edd0f164a5ad8a7e9432526cb9999 /examples | |
parent | 5dda209527be5c0e85fe14c3d5d38516ff0500d8 (diff) |
Improve the yesno example
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/yesno/yesno.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/yesno/yesno.sh b/examples/yesno/yesno.sh index 11e9ffb..b84ff13 100755 --- a/examples/yesno/yesno.sh +++ b/examples/yesno/yesno.sh @@ -1,7 +1,8 @@ #!/bin/bash RES=$( - ../../smenu -2 ^Y -1 ^N -3 ^C -s /^N -m "Please confirm your choice:" \ + ../../smenu -2 ^Y -1 ^N -3 ^C -s /^N -x cur 10 \ + -m "Please confirm your choice:" \ <<< "YES NO CANCEL" ) |