From 4bf14935f5e5ad55b8842d204184d9e50401a9da Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 6 Jun 2021 12:32:55 -0400 Subject: [PATCH] tinfo_debug_caps: prettify outputs --- src/lib/debug.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lib/debug.c b/src/lib/debug.c index 44292197d..f4e141533 100644 --- a/src/lib/debug.c +++ b/src/lib/debug.c @@ -43,10 +43,11 @@ tinfo_debug_caps(const tinfo* ti, FILE* debugfp, int rows, int cols, capbool(ti->sextants), capbool(ti->braille), capbool(images), capbool(videos)); if(ti->utf8){ - fprintf(debugfp, "%sQuads: %ls\n", indent, get_blitter_egcs(NCBLIT_2x2)); - fprintf(debugfp, "%sSextants: %ls\n", indent, get_blitter_egcs(NCBLIT_3x2)); - fprintf(debugfp, "%sBraille: %ls\n", indent, get_blitter_egcs(NCBLIT_BRAILLE)); - fprintf(debugfp, "%sBottom eighths: %ls\n", indent, get_blitter_egcs(NCBLIT_8x1)); + fprintf(debugfp, "%s Quads {%ls}\n", indent, get_blitter_egcs(NCBLIT_2x2)); + fprintf(debugfp, "%sSextants ⎧%.120ls⎫\n", indent, get_blitter_egcs(NCBLIT_3x2)); + fprintf(debugfp, "%s ⎩%ls⎭\n", indent, get_blitter_egcs(NCBLIT_3x2) + 32); + fprintf(debugfp, "%s Braille {%ls}\n", indent, get_blitter_egcs(NCBLIT_BRAILLE)); + fprintf(debugfp, "%sLower ⅛s {%ls}\n", indent, get_blitter_egcs(NCBLIT_8x1)); } if(ti->bg_collides_default){ fprintf(debugfp, "%sbackground of 0x%06lx is considered transparent\n", indent, ti->bg_collides_default & 0xfffffful);