Disable OS X font width changes

This commit is contained in:
Dylan Araps 2016-05-31 12:01:26 +10:00
parent 70aa01aebb
commit 3636abd2ac

View file

@ -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