mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-11-12 19:32:43 +00:00
Add space before icon for better readability
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
af5c00659a
commit
6f0c927c8d
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ function write_status() {
|
||||||
local wipe=$(echo -en "\r$(printf "%-${last_line_len}s" "")")
|
local wipe=$(echo -en "\r$(printf "%-${last_line_len}s" "")")
|
||||||
|
|
||||||
# Assemble new line
|
# 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
|
# Count line length for later wipe
|
||||||
last_line_len=$(wc -c <<<"${line}")
|
last_line_len=$(wc -c <<<"${line}")
|
||||||
# Print line
|
# Print line
|
||||||
|
|
Loading…
Reference in a new issue