Ignore:
Timestamp:
Feb 17, 2004, 2:53:14 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + No longer check for ncurses etc., we use caca-config.
  • src/*: + Updated to new libcaca API, mainly caca_get_event() and caca_set_color()

calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/main.c

    r194 r365  
    9999    while(!quit)
    100100    {
    101         char key;
    102 
    103         while((key = caca_get_key()))
     101        int event, key;
     102
     103        while((event = caca_get_event(CACA_EVENT_KEY_PRESS)))
    104104        {
     105            key = event & 0xffffff;
     106
    105107            switch(key)
    106108            {
Note: See TracChangeset for help on using the changeset viewer.