aboutsummaryrefslogtreecommitdiffstats
path: root/spinner.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 14:04:35 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 14:04:35 -0500
commita9998650875c122d505c3046b23dc5f8590857f7 (patch)
tree68a96d364fbc8a28166d2b61a34ef424650d44d9 /spinner.sh
parentddc24ed59f6ad9f0e36258ece20bd3e04e88e5e0 (diff)
Use printf instead of echo.
Diffstat (limited to 'spinner.sh')
-rw-r--r--spinner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/spinner.sh b/spinner.sh
index 83fc536..5332ee1 100644
--- a/spinner.sh
+++ b/spinner.sh
@@ -9,7 +9,7 @@ spinner() {
local str=""
local delay="0.1"
tput civis # hide cursor
- echo -ne "${WHT}"
+ printf "%b" "${WHT}"
while [ -d /proc/"$PROC" ]; do
#-\|/
#⠁⠂⠄⡀⢀⠠⠐⠈