mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-15 16:33:47 -05:00
add _spinner_
This commit is contained in:
@@ -53,6 +53,9 @@ _trapCleanup_() {
|
||||
local _script="${5:-}"
|
||||
local _sourced="${6:-}"
|
||||
|
||||
# Replace the cursor in-case 'tput civis' has been used
|
||||
tput cnorm
|
||||
|
||||
if declare -f "fatal" &>/dev/null && declare -f "_printFuncStack_" &>/dev/null; then
|
||||
|
||||
_funcstack="'$(printf "%s" "${_funcstack}" | sed -E 's/ / < /g')'"
|
||||
|
||||
Reference in New Issue
Block a user