Changeset 3984 for libcaca


Ignore:
Timestamp:
Nov 21, 2009, 11:18:45 AM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Don't unblock signals in init of SLang
File:
1 edited

Legend:

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

    r3983 r3984  
    141141    /* Initialise slang library */
    142142    SLsig_block_signals();
     143    /* Disable SLang's own SIGINT on ctrl-c */
     144    SLang_set_abort_signal(default_sigint);
     145   
    143146    SLtt_get_terminfo();
    144147
     
    156159        return -1;
    157160    }
    158 
    159     SLsig_unblock_signals();
    160161
    161162    SLsmg_cls();
     
    164165    SLtt_set_mouse_mode(1, 0);
    165166    SLsmg_refresh();
    166 
    167    
    168     /* Disable SLang's own SIGINT on ctrl-c */
    169     SLang_set_abort_signal (default_sigint);
    170167   
    171168    /* Disable scrolling so that hashmap scrolling optimization code
     
    201198    SLang_reset_tty();
    202199    SLsmg_reset_smg();
     200    SLsig_unblock_signals();
    203201
    204202#if defined HAVE_GETENV && defined HAVE_PUTENV
Note: See TracChangeset for help on using the changeset viewer.