1
0
Fork 0
mirror of https://github.com/Luzifer/archrepo.git synced 2024-11-09 10:00:04 +00:00

Add space before icon for better readability

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-06-08 18:01:46 +02:00
parent af5c00659a
commit 6f0c927c8d
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -109,7 +109,7 @@ function write_status() {
local wipe=$(echo -en "\r$(printf "%-${last_line_len}s" "")")
# Assemble new line
local line=$(echo -en "\r${icon} \e[1m${name##*/}\e[0m - ${comment}")
local line=$(echo -en "\r ${icon} \e[1m${name##*/}\e[0m - ${comment}")
# Count line length for later wipe
last_line_len=$(wc -c <<<"${line}")
# Print line