Ignore:
Timestamp:
Mar 24, 2006, 10:48:20 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Allow the driver initialisation to fail, for instance when $DISPLAY = "".
File:
1 edited

Legend:

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

    r681 r684  
    531531 */
    532532
    533 void ncurses_init_driver(caca_t *kk)
     533int ncurses_install(caca_t *kk)
    534534{
    535535    kk->drv.driver = CACA_DRIVER_NCURSES;
     
    543543    kk->drv.handle_resize = ncurses_handle_resize;
    544544    kk->drv.get_event = ncurses_get_event;
     545
     546    return 0;
    545547}
    546548
Note: See TracChangeset for help on using the changeset viewer.