From ff1d8b1249abcb3167d7d18c0d3a43bb5ea89984 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 19 Jun 2021 20:18:06 -0400 Subject: [PATCH] tinfo_debug_caps: properly line up unicode 13 symbols --- src/lib/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/debug.c b/src/lib/debug.c index a0fcc3564..1e5e0dcda 100644 --- a/src/lib/debug.c +++ b/src/lib/debug.c @@ -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 ");