tinfo_debug_caps: properly line up unicode 13 symbols

pull/1799/head
nick black 3 years ago
parent e5092ad4eb
commit ff1d8b1249
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -102,8 +102,8 @@ tinfo_debug_caps(const tinfo* ti, FILE* debugfp, int rows, int cols,
get_blitter_egcs(NCBLIT_BRAILLE) + 128);
fprintf(debugfp, "%s⎣%.192ls⎦ ⎪🮇▊⎪\n", indent,
get_blitter_egcs(NCBLIT_BRAILLE) + 192);
fprintf(debugfp, "%s ⎛%ls⎞ ▔🭶🭷🭸🭹🭺🭻▁ 🭁 🭂 🭃 🭄 🭅 🭆 🭑 🭐 🭏 🭎 🭍 🭌 🭅🭐 🭄🭏 🭃🭎 🭆🭑 🭂🭍 🭁🭌 ⎪▕▉⎪ 🭨🭪\n", indent, get_blitter_egcs(NCBLIT_8x1));
fprintf(debugfp, "%s ⎝%s⎠ ▏🭰🭱🭲🭳🭴🭵▕ 🭒 🭓 🭔 🭕 🭖 🭧 🭜 🭟 🭠 🭡 🭞 🭝 🭖🭟 🭕🭠 🭔🭡 🭧🭜 🭓🭞 🭒🭝 ⎩ █⎭ 🭪🭨\n", indent, "█🮆🮅🮄▀🮃🮂▔ ");
fprintf(debugfp, "%s ⎛%ls⎞ ▔🭶🭷🭸🭹🭺🭻▁ 🭁 🭂 🭃 🭄 🭅 🭆 🭑 🭐 🭏 🭎 🭍 🭌 🭆🭑 🭄🭏 🭅🭐 🭃🭎 🭂🭍 🭁🭌 ⎪▕▉⎪ 🭨🭪\n", indent, get_blitter_egcs(NCBLIT_8x1));
fprintf(debugfp, "%s ⎝%s⎠ ▏🭰🭱🭲🭳🭴🭵▕ 🭒 🭓 🭔 🭕 🭖 🭧 🭜 🭟 🭠 🭡 🭞 🭝 🭧🭜 🭕🭠 🭖🭡 🭔🭟 🭓🭞 🭒🭝 ⎩ █⎭ 🭪🭨\n", indent, "█🮆🮅🮄▀🮃🮂▔ ");
}
fprintf(debugfp, "%sbackground of 0x%06lx is %sconsidered transparent\n", indent, ti->bg_collides_default & 0xfffffful,
(ti->bg_collides_default & 0x01000000) ? "" : "not ");

Loading…
Cancel
Save