mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[sixel] copy through sixel_maxy_pristine #2379
This commit is contained in:
parent
9d4b23d56f
commit
d5e451939b
@ -3073,8 +3073,8 @@ struct ncvisual_options {
|
||||
// pass an origin of 0, 0 and a size of 0, 0 (or the true height and width).
|
||||
// these numbers are all in terms of ncvisual pixels. negative values are
|
||||
// prohibited.
|
||||
unsigned begy, begx; // origin of rendered section
|
||||
unsigned leny, lenx; // size of rendered section
|
||||
unsigned begy, begx; // origin of rendered section in pixels
|
||||
unsigned leny, lenx; // size of rendered section in pixels
|
||||
// use NCBLIT_DEFAULT if you don't care, an appropriate blitter will be
|
||||
// chosen for your terminal, given your scaling. NCBLIT_PIXEL is never
|
||||
// chosen for NCBLIT_DEFAULT.
|
||||
|
@ -1089,6 +1089,7 @@ int interrogate_terminfo(tinfo* ti, FILE* out, unsigned utf8,
|
||||
// kitty trumps sixel, when both are available
|
||||
if((kitty_graphics = iresp->kitty_graphics) == 0){
|
||||
ti->color_registers = iresp->color_registers;
|
||||
ti->sixel_maxy_pristine = iresp->sixely;
|
||||
ti->sixel_maxy = iresp->sixely;
|
||||
ti->sixel_maxx = iresp->sixelx;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user