-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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é!
- Loading branch information
1 parent
fc390da
commit 50a304b
Showing
6 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters