mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
[terminfo] on windows init failure, print panic diagnostic
This commit is contained in:
parent
685422dbab
commit
bee03d5b60
@ -753,6 +753,7 @@ int interrogate_terminfo(tinfo* ti, const char* termtype, FILE* out, unsigned ut
|
||||
logwarn("termtype (%s) ignored on windows\n", termtype);
|
||||
}
|
||||
if(prepare_windows_terminal(ti, &tablelen, &tableused)){
|
||||
logpanic("failed opening Windows ConPTY\n");
|
||||
return -1;
|
||||
}
|
||||
if(cursor_y && cursor_x){
|
||||
|
Loading…
Reference in New Issue
Block a user