mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
dumbass
This commit is contained in:
parent
dbc83c41b3
commit
b0990c1389
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user