Ignore:
Timestamp:
Nov 21, 2009, 11:12:09 AM (11 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Disable SLang's own SIGINT handler
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/slang.c

    r3587 r3983  
    118118};
    119119
     120static void default_sigint (int sig)
     121{
     122    /* Do nothing */
     123    return;
     124}
     125
    120126static int slang_init_graphics(caca_display_t *dp)
    121127{
     
    159165    SLsmg_refresh();
    160166
     167   
     168    /* Disable SLang's own SIGINT on ctrl-c */
     169    SLang_set_abort_signal (default_sigint);
     170   
    161171    /* Disable scrolling so that hashmap scrolling optimization code
    162172     * does not cause ugly refreshes due to slow terminals */
Note: See TracChangeset for help on using the changeset viewer.