about summary refs log tree commit diff stats
path: root/src/utils/twtstr.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-05 18:55:25 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-05 19:14:40 +0200
commitef5d188e05d4895125ad059f5518f9c8ff83bef5 (patch)
treee57882c92366983491e9ba299e0366cba93c5a6a /src/utils/twtstr.nim
parent3d40aced32d7c7ee1c98359ad98f43c11e72fd71 (diff)
downloadchawan-ef5d188e05d4895125ad059f5518f9c8ff83bef5.tar.gz
term: sixel sizing & output fixes
* round down to number divisible by 6 for height
* make pager's dispw match term's dispw even after width clamping
* make *BE procs actually emit/consume big-endian (lol)
* fix borked sixel set raster attributes & control string

I mixed up SRA with the device control string's parameters, so instead
of toggling transparency in the DCS, I was setting the second SRA
parameter to 0. Which, by the way, defines the aspect ratio's
denominator, and has nothing to do with transparency. Whoops.
Diffstat (limited to 'src/utils/twtstr.nim')
0 files changed, 0 insertions, 0 deletions