XTSMGRAPHICS: send read attribute, not read maximum allowed #1716

pull/1748/head
nick black 3 years ago
parent 866e1d04d5
commit 761ab46f75
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -486,7 +486,7 @@ query_xtsmgraphics(int fd, const char* seq, int* val, int* val2){
// making it useless for a one-time query.
static int
query_sixel_details(tinfo* ti, int fd){
if(query_xtsmgraphics(fd, "\x1b[?2;4;0S" ESC_DA, &ti->sixel_maxx, &ti->sixel_maxy)){
if(query_xtsmgraphics(fd, "\x1b[?2;1;0S" ESC_DA, &ti->sixel_maxx, &ti->sixel_maxy)){
return -1;
}
if(query_xtsmgraphics(fd, "\x1b[?1;1;0S" ESC_DA, &ti->color_registers, NULL)){

Loading…
Cancel
Save