Avoid drawing sixel to the bottom row
Sixels, unlike Kitties, can't be drawn to the bottom row, lest we scroll. We were properly guarding against creation of a sixel that touched the bottom row when creating the plane within ncvisual_blit(), but not when we were provided with a plane. This used to be fine because ncplayer cut the plane off less one row, but when we enabled the bottom row for Kitties, this ceased. We don't want to expose this wart to userspace, so instead clamp sixel_maxy based off the screen height when appropriate. Closes #1789. 1789?!?! Liberté, Egalité, Fraternité!pull/1792/head
parent
fc390da020
commit
50a304bada
Loading…
Reference in New Issue