mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-05 06:40:02 +00:00
Fix incorrect padding with unicode block charS
This commit is contained in:
2
fetch
2
fetch
@@ -1204,7 +1204,7 @@ getshuffle () {
|
|||||||
|
|
||||||
getascii () {
|
getascii () {
|
||||||
# Get length of longest line
|
# Get length of longest line
|
||||||
length="$(wc -L 2>/dev/null < "$ascii")"
|
length="$(LC_ALL="en_US.UTF8" wc -L 2>/dev/null < "$ascii")"
|
||||||
|
|
||||||
# Fallback to using awk on systems without 'wc -L'
|
# Fallback to using awk on systems without 'wc -L'
|
||||||
[ -z "$length" ] && \
|
[ -z "$length" ] && \
|
||||||
|
|||||||
Reference in New Issue
Block a user