All the output alogorithms were adding a newline after every
line, including the last line. This meant that there would always
be height+1 lines affected. If an image's height was calculated
to be the full height of the terminal then this last height+1
newline would shift the entire image 1 row up. This wasn't so
noticeable for static images, but caused annoying flickering during
the rapid updates of multiple images in movies, etc.
All the output alogorithms were adding a newline after every line, including the last line. This meant that there would always be height+1 lines affected. If an image's height was calculated to be the full height of the terminal then this last height+1 newline would shift the entire image 1 row up. This wasn't so noticeable for static images, but caused annoying flickering during the rapid updates of multiple images in movies, etc.