mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
notcurses_init: no screen clear for NO_ALTERNATE_SCREEN, though #817
This commit is contained in:
parent
6d2ba86acc
commit
d2b7c2b76c
@ -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…
x
Reference in New Issue
Block a user