diff options
author | davidovski <david@davidovski.xyz> | 2023-12-27 16:29:23 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-12-27 16:29:23 +0000 |
commit | 6df082d5c5ed31307db0f8e5dac01d95915d4a35 (patch) | |
tree | 462afe5a77bcd703322be9dc7ba3509477b62972 | |
parent | f6fedc007e27651a39cd2b876d3dda3b200a72fd (diff) |
show incorrect spaces
-rwxr-xr-x | typr.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -73,7 +73,10 @@ typr_draw_text () { i=0 } - printf "$ct" + [ "$ct" = " " ] && [ "$color" = "[0;31m" ] \ + && printf "_" \ + || printf "$ct" + i=$((i+1)) done printf "[${cpos}H" |