Ignore:
Timestamp:
Apr 1, 2006, 4:44:09 PM (14 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/aafire.c

    r704 r710  
    267267#ifdef LIBCACA
    268268      struct caca_event ev;
    269       if(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev))
     269      if(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev, 0))
    270270        {
    271271          switch(ev.data.key.c)
Note: See TracChangeset for help on using the changeset viewer.