spinner Code.
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
sleep 4
|
||||
echo "Ende langes Kommando"
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
|
||||
for c in '/' '|' '\' '-'; do
|
||||
printf "\r%s" "${c}"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo
|
||||
echo 'done'
|
||||
Reference in New Issue
Block a user