Ignore:
Timestamp:
Mar 23, 2006, 7:36:59 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Massive rework of the event handling code, as per the TODO list.
File:
1 edited

Legend:

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

    r677 r681  
    3535int main(void)
    3636{
     37    struct caca_event ev;
    3738    cucul_t *qq;
    3839    caca_t *kk;
     
    124125    caca_display(kk);
    125126
    126     while(!caca_get_event(kk, CACA_EVENT_KEY_PRESS));
     127    caca_wait_event(kk, CACA_EVENT_KEY_PRESS, &ev);
    127128
    128129    caca_detach(kk);
Note: See TracChangeset for help on using the changeset viewer.