Ignore:
Timestamp:
Jan 5, 2004, 7:17:20 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + caca_get_event() and caca_wait_event() now accept a mask as an argument

in order to select events.

File:
1 edited

Legend:

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

    r307 r316  
    5757    caca_refresh();
    5858
    59     while((caca_get_event() & 0xff000000) != CACA_EVENT_KEY_PRESS);
     59    while(!caca_get_event(CACA_EVENT_KEY_PRESS));
    6060
    6161    caca_end();
Note: See TracChangeset for help on using the changeset viewer.