[sixel] restore opening escape, yeesh

This commit is contained in:
nick black 2021-03-21 19:18:24 -04:00
parent 04d4372d6d
commit 43e7da6398
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -421,6 +421,7 @@ write_sixel_data(FILE* fp, int lenx, sixeltable* stab){
// doesn't seem to work with at least xterm; we instead use '\ePq'
// FIXME i think we can print DESDM on the first one, and never again
//fprintf(fp, "\e[?80h\ePq");
fprintf(fp, "\ePq");
// Set Raster Attributes - pan/pad=1 (pixel aspect ratio), Ph=lenx, Pv=leny
// using Ph/Pv causes a background to be drawn using color register 0 for all