|
|
|
@ -1042,16 +1042,14 @@ int sixel_draw(const tinfo* ti, const ncpile* p, sprixel* s, fbuf* f,
|
|
|
|
|
return s->glyph.used;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int sixel_init(const tinfo* ti, int fd){
|
|
|
|
|
(void)ti;
|
|
|
|
|
int sixel_init(int fd){
|
|
|
|
|
// \e[?8452: DECSDM private "sixel scrolling" mode keeps the sixel from
|
|
|
|
|
// scrolling, but puts it at the current cursor location (as opposed to
|
|
|
|
|
// the upper left corner of the screen).
|
|
|
|
|
return tty_emit("\e[?80;8452h", fd);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int sixel_init_inverted(const tinfo* ti, int fd){
|
|
|
|
|
(void)ti;
|
|
|
|
|
int sixel_init_inverted(int fd){
|
|
|
|
|
// except MLterm (and a few others, possibly including the physical VT340),
|
|
|
|
|
// which inverts the usual sense of DECSDM.
|
|
|
|
|
return tty_emit("\e[?80l\e[?8452h", fd);
|
|
|
|
|