mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
[debug] setab, not setbf
This commit is contained in:
parent
48585d074e
commit
836f356305
@ -73,6 +73,7 @@ zoom_map(struct notcurses* nc, const char* map, int* ret){
|
||||
vheight /= yscale;
|
||||
vwidth /= xscale;
|
||||
vopts.n = zncp;
|
||||
vopts.blitter = NCBLIT_PIXEL;
|
||||
vopts.scaling = NCSCALE_STRETCH;
|
||||
if(ncvisual_render(nc, ncv, &vopts) == NULL || (*ret = demo_render(nc))){
|
||||
ncvisual_destroy(ncv);
|
||||
|
@ -14,7 +14,7 @@ static void
|
||||
tinfo_debug_caps(const tinfo* ti, FILE* debugfp, int rows, int cols,
|
||||
unsigned images, unsigned videos){
|
||||
const char indent[] = " ";
|
||||
fprintf(debugfp, "%sColors: %u rgb: %c ccc: %c setaf: %c setbf: %c\n",
|
||||
fprintf(debugfp, "%sColors: %u rgb: %c ccc: %c setaf: %c setab: %c\n",
|
||||
indent, ti->colors, capbool(ti->RGBflag), capbool(ti->CCCflag), capyn(ti->setaf), capyn(ti->setab));
|
||||
fprintf(debugfp, "%ssgr: %c sgr0: %c\n",
|
||||
indent, capyn(ti->sgr), capyn(ti->sgr0));
|
||||
|
@ -314,7 +314,6 @@ int direct_mode_player(int argc, char** argv, ncscale_e scalemode,
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
return failed ? -1 : 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user