notcurses_init: no screen clear for NO_ALTERNATE_SCREEN, though #817

pull/820/head
nick black 4 years ago
parent 6d2ba86acc
commit d2b7c2b76c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -927,7 +927,7 @@ notcurses* notcurses_init(const notcurses_options* opts, FILE* outfp){
free_plane(ret->top);
goto err;
}
}else{
}else if(!(opts->flags & NCOPTION_NO_ALTERNATE_SCREEN)){
// if they expected the alternate screen, but we didn't have one to
// offer, at least clear the screen. try using "clear"; if that doesn't
// fly, use notcurses_refresh() to force a clearing via iterated writes.

Loading…
Cancel
Save