generate-alt-random: sixel: pan/pad must not be 0

This commit is contained in:
Daniel Eklöf 2021-03-07 16:52:53 +01:00
parent 6d208fa5e0
commit eee216f5fe
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -185,7 +185,7 @@ def main():
# Sixel size. Without this, sixels will be # Sixel size. Without this, sixels will be
# auto-resized on cell-boundaries. # auto-resized on cell-boundaries.
out.write(f'"0;0;{six_width};{six_height}') out.write(f'"1;1;{six_width};{six_height}')
for row in range(six_height // 6): # Each sixel is 6 pixels for row in range(six_height // 6): # Each sixel is 6 pixels
# Choose a random color # Choose a random color