mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
notcurses_init(): correct error path
This commit is contained in:
parent
201994ab0c
commit
a6ce88c471
@ -958,7 +958,7 @@ notcurses* notcurses_init(const notcurses_options* opts, FILE* outfp){
|
||||
goto err;
|
||||
}
|
||||
if(make_nonblocking(ret->input.ttyinfp)){
|
||||
return -1;
|
||||
goto err;
|
||||
}
|
||||
// Neither of these is supported on e.g. the "linux" virtual console.
|
||||
if(!(opts->flags & NCOPTION_NO_ALTERNATE_SCREEN)){
|
||||
|
Loading…
Reference in New Issue
Block a user