Release test-rel

This commit is contained in:
Manuele Sarfatti 2025-05-11 14:05:34 +02:00
parent 05f318b0f2
commit 4334716ff3

8
dist/beddu.sh vendored
View file

@ -4,8 +4,8 @@
# beddu.sh - A lightweight bash framework for interactive scripts and pretty output # beddu.sh - A lightweight bash framework for interactive scripts and pretty output
# https://github.com/mjsarfatti/beddu # https://github.com/mjsarfatti/beddu
# #
# Version: v0.0.5 # Version: test-rel
# Generated on: Sun May 11 13:37:32 CEST 2025 # Generated on: Sun May 11 14:05:34 CEST 2025
readonly _q='?' readonly _q='?'
readonly _a='' readonly _a=''
@ -136,7 +136,7 @@ spin() {
fi fi
( (
hide_cursor hide_cursor
trap "show_cursor; exit 0" USR1 trap "exit 0" USR1
pen -n cyan "${spinner:0:1} " pen -n cyan "${spinner:0:1} "
pen "${message[@]}" pen "${message[@]}"
while true; do while true; do
@ -160,10 +160,10 @@ spop() {
sleep "$_frame_duration" sleep "$_frame_duration"
if ps -p "${_spinner_pid}" >/dev/null 2>&1; then if ps -p "${_spinner_pid}" >/dev/null 2>&1; then
kill "${_spinner_pid}" 2>/dev/null kill "${_spinner_pid}" 2>/dev/null
fi
if [[ "$keep_cursor_hidden" == false ]]; then if [[ "$keep_cursor_hidden" == false ]]; then
show_cursor show_cursor
fi fi
fi
_spinner_pid="" _spinner_pid=""
fi fi
} }