sixel: call decsixel() directly, instead of going through sixel_put()

This commit is contained in:
Daniel Eklöf 2021-09-05 11:09:45 +02:00
parent 47c32d5913
commit b1a4d43845
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1401,7 +1401,7 @@ decgra(struct terminal *term, uint8_t c)
}
term->sixel.state = SIXEL_DECSIXEL;
sixel_put(term, c);
decsixel(term, c);
break;
}
}
@ -1512,7 +1512,7 @@ decgci(struct terminal *term, uint8_t c)
term->sixel.color = term->sixel.palette[term->sixel.color_idx];
term->sixel.state = SIXEL_DECSIXEL;
sixel_put(term, c);
decsixel(term, c);
break;
}
}