mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-06 15:51:35 +00:00
pfetch: Fix potential align issue
This commit is contained in:
1 file changed
+1
-1
@@ -88,7 +88,7 @@ log() {
|
|||||||
# Move the cursor backward the length of the *current* info name and
|
# Move the cursor backward the length of the *current* info name and
|
||||||
# then move it forwards the length of the *longest* info name. This
|
# then move it forwards the length of the *longest* info name. This
|
||||||
# aligns each info data line.
|
# aligns each info data line.
|
||||||
printf '[%sD[%sC' "${#name}" "${PF_ALIGN-$info_length}"
|
printf '[%sD[%sC' "${#name}" "${PF_ALIGN:-$info_length}"
|
||||||
|
|
||||||
# Print the info data, color it and strip all leading whitespace
|
# Print the info data, color it and strip all leading whitespace
|
||||||
# from the string.
|
# from the string.
|
||||||
|
|||||||
Reference in new issue
Block a user