mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Disable OS X font width changes
This commit is contained in:
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
Block a user