summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ddf42f9)
Dialog exits with code 255 if escape was pressed. This change makes the
escape key more useful in the main menu invoked via _browse() since it
no longer terminates the program but results to show the parent menu.
case "$ec" in
0) ret=$GSU_SUCCESS;;
case "$ec" in
0) ret=$GSU_SUCCESS;;
+ 1|255) ret=1;; # cancelled
*)
result="dialog exit code $ec"
ret=-$E_GSU_DIALOG
*)
result="dialog exit code $ec"
ret=-$E_GSU_DIALOG