• src/xpdev/unicode.c unicode_defs.h

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, February 15, 2024 21:37:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3b4ec79b4aa0b5bccc389526
    Modified Files:
    src/xpdev/unicode.c unicode_defs.h
    Log Message:
    Better unicode character display-width calculation (in columns)

    Tested with Windows Terminal Version: 1.18.10301.0 and all codepoints between 0x100 and 0x1FFFF, this change reduces the width mismatches from > 8000 to
    349. The "Zero width" mismatches are probably the most important/glaring and will need to be addressed next (since some terminals don't move the cursor
    for zero width chars, and some do).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net