Ignore:
Timestamp:
Dec 16, 2007, 2:50:41 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Implement caca_create_display_with_driver() to specify an output driver without using environment variables..
  • Implement caca_get_display_driver() to return the current display's output driver.
  • Add a simple example program to test caca_create_display_with_driver().
File:
1 edited

Legend:

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

    r2056 r2138  
    809809int ncurses_install(caca_display_t *dp)
    810810{
    811     dp->drv.driver = CACA_DRIVER_NCURSES;
     811    dp->drv.id = CACA_DRIVER_NCURSES;
     812    dp->drv.driver = "ncurses";
    812813
    813814    dp->drv.init_graphics = ncurses_init_graphics;
Note: See TracChangeset for help on using the changeset viewer.