mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.33k stars 32 forks source link

Stop using viuer for ascii blocks graphics mode #182

Closed mfontanini closed 9 months ago

mfontanini commented 9 months ago

This removes the viuer dependency, which at this point was only being used for ascii-blocks graphics, and replaces it with a hand rolled version. Along with this change, this respects transparency better, as in, rather than printing a chess board pattern where rgba(0, 0, 0, 0) pixels show up, it instead uses the theme's background.

This also fixes a problem that viuer seems to have where it sometimes adds an extra line at the bottom in ascii mode.

On the left is the new version, on the right the old one using viuer:

Untitled