summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/pkg b/bin/pkg
index f432167..5199751 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -29,12 +29,7 @@ check_valid () {
}
clear_line () {
- string="\r"
- for char in {0..80}; {
- string+=' '
- }
- string+="\r"
- echo -ne $string
+ echo -ne "\r\e[2K"
}
# Read local configuration