This commit is contained in:
nick black 2020-07-13 01:52:53 -04:00
parent dbc83c41b3
commit b0990c1389
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -821,10 +821,7 @@ notcurses* notcurses_init(const notcurses_options* opts, FILE* outfp){
free(ret);
return NULL;
}
if((ret->ttyfd = get_tty_fd(ret, ret->ttyfp)) < 0){
free(ret);
return NULL;
}
ret->ttyfd = get_tty_fd(ret, ret->ttyfp);
is_linux_console(ret);
notcurses_mouse_disable(ret);
if(ret->ttyfd >= 0){