Showing
1 changed file
with
9 additions
and
1 deletions
| ... | ... | @@ -5,6 +5,13 @@ umask 000 # create files with all right for anyone |
| 5 | 5 | shopt -s nullglob # expand patterns which match no file to a null string |
| 6 | 6 | shopt -s extdebug |
| 7 | 7 | |
| 8 | +function atExit | |
| 9 | +{ | |
| 10 | + echo -en "\033[?25h" # show cursor | |
| 11 | +} | |
| 12 | + | |
| 13 | +trap atExit EXIT | |
| 14 | + | |
| 8 | 15 | # -------------------------------------------------------------- |
| 9 | 16 | # das Verzeichnis in dem dieses script liegt herausfinden |
| 10 | 17 | scriptDir=${0%/*} |
| ... | ... | @@ -359,7 +366,7 @@ test ${verbose} -ge 1 && echo "${ready}" |
| 359 | 366 | # ---------------------------------------------------------------- |
| 360 | 367 | # now do the ripping |
| 361 | 368 | test ${verbose} -eq 1 && echo -n "${startRipMsg1}" |
| 362 | -test ${verbose} -ge 2 && echo "${startRipMsg2}" | |
| 369 | +test ${verbose} -ge 2 && { echo "${startRipMsg2}"; echo -en "\033[?25l"; } | |
| 363 | 370 | |
| 364 | 371 | i=0 |
| 365 | 372 | while [ $i -lt ${#tTitle[@]} ] |
| ... | ... | @@ -460,5 +467,6 @@ do |
| 460 | 467 | i=$((i+1)) |
| 461 | 468 | done |
| 462 | 469 | |
| 470 | +test ${verbose} -ge 2 && echo -en "\033[?25h" | |
| 463 | 471 | test ${verbose} -eq 1 && echo "${ready}" |
| 464 | 472 | # ---------------------------------------------------------------- | ... | ... |
Please
register
or
login
to post a comment