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