Ignore:
Timestamp:
Apr 1, 2006, 4:44:09 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Merged caca_wait_event() into caca_get_event() and added a timeout parameter to do what both functions did before, and even more.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaball.c

    r704 r710  
    9494    {
    9595        struct caca_event ev;
    96         if(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev))
     96        if(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev, 0))
    9797        {
    9898            switch(ev.data.key.c)
Note: See TracChangeset for help on using the changeset viewer.