[linesigs_enable] fix logic

pull/2173/head
nick black 3 years ago
parent 5a64f25ac2
commit 634a26abc1

@ -100,7 +100,7 @@ int notcurses_linesigs_enable(notcurses* n){
logerror("Couldn't preserve terminal state for %d (%s)\n", n->tcache.ttyfd, strerror(errno));
return -1;
}
tios.c_lflag |= ~ISIG;
tios.c_lflag |= ISIG;
if(tcsetattr(n->tcache.ttyfd, TCSANOW, &tios)){
logerror("Error disabling signals on %d (%s)\n", n->tcache.ttyfd, strerror(errno));
return -1;

Loading…
Cancel
Save