aboutsummaryrefslogtreecommitdiffstats
path: root/cdlog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cdlog.sh')
-rw-r--r--cdlog.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/cdlog.sh b/cdlog.sh
index e26f374..087f454 100644
--- a/cdlog.sh
+++ b/cdlog.sh
@@ -120,6 +120,7 @@ cdlog.mcd()
local sel=
local swap=
local res=1
+ local i
local d=("" "$c1" "$c2" "$c3" "$c4" "$c5" "$c6" "$c7" "$c8" "$c9")
if [ $# -gt 0 ] && [ "$1" = -s ] ; then
@@ -132,7 +133,9 @@ cdlog.mcd()
read -p "? " sel
- printf "\e[10A\e[J"
+ for i in {1..10}; do
+ printf "\e[A\e[K"
+ done
case "$sel" in
( [1-9] )