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:
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 wherergba(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: