|
|
@ -601,6 +601,7 @@ ncplane* ncvisual_render_pixels(notcurses* nc, ncvisual* ncv, const struct blits
|
|
|
|
disprows = ncv->rows;
|
|
|
|
disprows = ncv->rows;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
notcurses_term_dim_yx(nc, &disprows, &dispcols);
|
|
|
|
notcurses_term_dim_yx(nc, &disprows, &dispcols);
|
|
|
|
|
|
|
|
--disprows; // some terminals scroll when bitmaps hit the last line
|
|
|
|
dispcols *= nc->tcache.cellpixx;
|
|
|
|
dispcols *= nc->tcache.cellpixx;
|
|
|
|
disprows *= nc->tcache.cellpixy;
|
|
|
|
disprows *= nc->tcache.cellpixy;
|
|
|
|
if(scaling == NCSCALE_SCALE || scaling == NCSCALE_SCALE_HIRES){
|
|
|
|
if(scaling == NCSCALE_SCALE || scaling == NCSCALE_SCALE_HIRES){
|
|
|
|