Ignore:
Timestamp:
Jan 13, 2004, 10:55:32 AM (19 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + Check for sys/times.h and unistd.h. + Added calls to AC_C_CONST and AC_C_INLINE.
  • src/time.c src/graphics.c: + Fixes for MSVC compilation warnings. + Additional sanity checks in the Win32 driver.
  • src/caca.c: + Use raw()/noraw() in the curses driver instead of cbreak().
  • msvc/libcaca.sln: + Added an MSVC solution.
  • examples/aafire.c: + Slightly reduced the maximum cacafire framerate.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.c

    r336 r344  
    139139        keypad(stdscr, TRUE);
    140140        nonl();
    141         cbreak();
     141        raw();
    142142        noecho();
    143143        nodelay(stdscr, TRUE);
     
    173173    if(_caca_driver == CACA_DRIVER_WIN32)
    174174    {
     175        if(!AllocConsole())
     176            return -1;
     177
    175178        win32_hin = GetStdHandle(STD_INPUT_HANDLE);
    176179        win32_hout = CreateFile("CONOUT$", GENERIC_READ | GENERIC_WRITE,
     
    381384        mousemask(oldmask, NULL);
    382385        curs_set(1);
     386        noraw();
    383387        endwin();
    384388    }
Note: See TracChangeset for help on using the changeset viewer.