Ignore:
Timestamp:
May 26, 2006, 12:32:03 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed UTF-8 support in ncurses.
  • Set ncurses's priority higher than slang.
File:
1 edited

Legend:

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

    r980 r984  
    162162    if(gl_install(dp) == 0) return 0;
    163163#endif
    164     /* slang has a higher priority than ncurses because though ncurses handles
    165      * color a bit better across terminals, its UTF-8 supports seems broken. */
     164    /* ncurses has a higher priority than slang because it has better colour
     165     * support across terminal types, despite being slightly slower. */
     166#if defined(USE_NCURSES)
     167    if(ncurses_install(dp) == 0) return 0;
     168#endif
    166169#if defined(USE_SLANG)
    167170    if(slang_install(dp) == 0) return 0;
    168 #endif
    169 #if defined(USE_NCURSES)
    170     if(ncurses_install(dp) == 0) return 0;
    171171#endif
    172172
Note: See TracChangeset for help on using the changeset viewer.