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

    r704 r710  
    7070    {
    7171        struct caca_event ev;
    72         if(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev))
     72        if(caca_get_event(kk, CACA_EVENT_KEY_PRESS, &ev, 0))
    7373        {
    7474            switch(ev.data.key.c)
Note: See TracChangeset for help on using the changeset viewer.