[debug] setab, not setbf

This commit is contained in:
nick black 2021-03-22 08:56:24 -04:00 committed by Nick Black
parent 48585d074e
commit 836f356305
3 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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));

View File

@ -314,7 +314,6 @@ int direct_mode_player(int argc, char** argv, ncscale_e scalemode,
failed = true;
break;
}
printf("\n");
}
return failed ? -1 : 0;
}