Ignore:
Timestamp:
Nov 24, 2006, 6:49:49 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Add support for doublewidth characters even if ncurses or SLang don't know about them.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_ncurses.c

    r1392 r1429  
    450450    addstr(buf);
    451451#else
    452     addch(ch < 0x80 ? ch : '?');
     452    if(ch < 0x80)
     453        addch(ch)
     454    else if(cucul_utf32_is_fullwidth(ch))
     455        addstr("? ");
     456    else
     457        addch('?');
    453458#endif
    454459}
Note: See TracChangeset for help on using the changeset viewer.