|
|
@ -126,7 +126,7 @@ typedef struct tinfo {
|
|
|
|
// perform the inverse of pixel_wipe, restoring an annihilated sprixcell.
|
|
|
|
// perform the inverse of pixel_wipe, restoring an annihilated sprixcell.
|
|
|
|
int (*pixel_rebuild)(struct sprixel* s, int y, int x, uint8_t* auxvec);
|
|
|
|
int (*pixel_rebuild)(struct sprixel* s, int y, int x, uint8_t* auxvec);
|
|
|
|
int (*pixel_remove)(int id, FILE* out); // kitty only, issue actual delete command
|
|
|
|
int (*pixel_remove)(int id, FILE* out); // kitty only, issue actual delete command
|
|
|
|
int (*pixel_init)(int fd); // called when support is detected
|
|
|
|
int (*pixel_init)(const struct tinfo*, int fd); // called when support is detected
|
|
|
|
int (*pixel_draw)(const struct ncpile* p, struct sprixel* s, FILE* out);
|
|
|
|
int (*pixel_draw)(const struct ncpile* p, struct sprixel* s, FILE* out);
|
|
|
|
int (*pixel_shutdown)(int fd); // called during context shutdown
|
|
|
|
int (*pixel_shutdown)(int fd); // called during context shutdown
|
|
|
|
int (*pixel_clear_all)(int fd); // called during startup, kitty only
|
|
|
|
int (*pixel_clear_all)(int fd); // called during startup, kitty only
|
|
|
@ -140,8 +140,10 @@ typedef struct tinfo {
|
|
|
|
bool AMflag; // "AM" flag for automatic movement to next line
|
|
|
|
bool AMflag; // "AM" flag for automatic movement to next line
|
|
|
|
|
|
|
|
|
|
|
|
// mlterm resets the cursor (i.e. makes it visible) any time you print
|
|
|
|
// mlterm resets the cursor (i.e. makes it visible) any time you print
|
|
|
|
// a sprixel. we work around this spiritedly unorthodox decision.
|
|
|
|
// a sprixel. we work around this spiritedly unorthodox decision. it
|
|
|
|
bool sprixel_cursor_hack; // do sprixels reset the cursor? (mlterm)
|
|
|
|
// furthermore interprets DECSDM in the reverse sense of most terminals
|
|
|
|
|
|
|
|
// (though possibly in conformance with the actual VT340).
|
|
|
|
|
|
|
|
bool sprixel_cursor_hack; // mlterm fixes
|
|
|
|
} tinfo;
|
|
|
|
} tinfo;
|
|
|
|
|
|
|
|
|
|
|
|
// retrieve the terminfo(5)-style escape 'e' from tdesc (NULL if undefined).
|
|
|
|
// retrieve the terminfo(5)-style escape 'e' from tdesc (NULL if undefined).
|
|
|
|