[sixel] restore DESDM

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

View File

@ -420,8 +420,8 @@ write_sixel_data(FILE* fp, int lenx, sixeltable* stab){
// \x90: 8-bit "device control sequence", lowercase q (start sixel)
// 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");
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