Ignore:
Timestamp:
Oct 20, 2007, 12:22:13 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Implemented caca_set_cursor() on the X11, ncurses and S-Lang drivers.
  • Use caca_set_cursor() in test/input.c.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/input.c

    r1806 r1837  
    5555        return -1;
    5656    }
     57    caca_set_cursor(dp, 1);
    5758
    5859    cucul_set_color_ansi(cv, CUCUL_WHITE, CUCUL_BLUE);
     
    8889
    8990        /* Put the cursor on the active textentry */
    90         cucul_set_color_ansi(cv, CUCUL_LIGHTRED, CUCUL_LIGHTRED);
    91         cucul_put_char(cv, 2 + entries[e].cursor, 3 * e + 4, ' ');
     91        cucul_gotoxy(cv, 2 + entries[e].cursor, 3 * e + 4);
    9292
    9393        caca_refresh_display(dp);
Note: See TracChangeset for help on using the changeset viewer.