summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtypr.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/typr.sh b/typr.sh
index 7ce1462..fcfa0f9 100755
--- a/typr.sh
+++ b/typr.sh
@@ -73,7 +73,10 @@ typr_draw_text () {
i=0
}
- printf "$ct"
+ [ "$ct" = " " ] && [ "$color" = "" ] \
+ && printf "_" \
+ || printf "$ct"
+
i=$((i+1))
done
printf "[${cpos}H"