Disable OS X font width changes
This commit is contained in:
parent
70aa01aebb
commit
3636abd2ac
1 changed files with 6 additions and 6 deletions
12
neofetch
12
neofetch
|
@ -2207,12 +2207,12 @@ getimage () {
|
||||||
columns=$(tput cols)
|
columns=$(tput cols)
|
||||||
|
|
||||||
# Calculate font size
|
# Calculate font size
|
||||||
if [ "$os" == "Mac OS X" ]; then
|
# if [ "$os" == "Mac OS X" ]; then
|
||||||
# Fixes padding issues in iTerm2.
|
# # Fixes padding issues in iTerm2.
|
||||||
font_width=$((term_width / columns / 2))
|
# font_width=$((term_width / columns / 2))
|
||||||
else
|
# else
|
||||||
font_width=$((term_width / columns))
|
font_width=$((term_width / columns))
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Image size is half of the terminal
|
# Image size is half of the terminal
|
||||||
case "$image_size" in
|
case "$image_size" in
|
||||||
|
|
Loading…
Reference in a new issue