mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
tinfo_debug_caps: prettify outputs
This commit is contained in:
parent
9cbc1c35f3
commit
4bf14935f5
@ -43,10 +43,11 @@ tinfo_debug_caps(const tinfo* ti, FILE* debugfp, int rows, int cols,
|
|||||||
capbool(ti->sextants), capbool(ti->braille),
|
capbool(ti->sextants), capbool(ti->braille),
|
||||||
capbool(images), capbool(videos));
|
capbool(images), capbool(videos));
|
||||||
if(ti->utf8){
|
if(ti->utf8){
|
||||||
fprintf(debugfp, "%sQuads: %ls\n", indent, get_blitter_egcs(NCBLIT_2x2));
|
fprintf(debugfp, "%s Quads {%ls}\n", indent, get_blitter_egcs(NCBLIT_2x2));
|
||||||
fprintf(debugfp, "%sSextants: %ls\n", indent, get_blitter_egcs(NCBLIT_3x2));
|
fprintf(debugfp, "%sSextants ⎧%.120ls⎫\n", indent, get_blitter_egcs(NCBLIT_3x2));
|
||||||
fprintf(debugfp, "%sBraille: %ls\n", indent, get_blitter_egcs(NCBLIT_BRAILLE));
|
fprintf(debugfp, "%s ⎩%ls⎭\n", indent, get_blitter_egcs(NCBLIT_3x2) + 32);
|
||||||
fprintf(debugfp, "%sBottom eighths: %ls\n", indent, get_blitter_egcs(NCBLIT_8x1));
|
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){
|
if(ti->bg_collides_default){
|
||||||
fprintf(debugfp, "%sbackground of 0x%06lx is considered transparent\n", indent, ti->bg_collides_default & 0xfffffful);
|
fprintf(debugfp, "%sbackground of 0x%06lx is considered transparent\n", indent, ti->bg_collides_default & 0xfffffful);
|
||||||
|
Loading…
Reference in New Issue
Block a user