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/cacaplay.c

    r702 r710  
    6767    caca_display(kk);
    6868
    69     while(caca_wait_event(kk, CACA_EVENT_KEY_PRESS, &ev))
     69    while(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev, -1))
    7070    {
    7171        if(ev.data.key.c == CACA_KEY_ESCAPE)
Note: See TracChangeset for help on using the changeset viewer.