rgb/rgbgb pocs: use alternate screen

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

@ -9,7 +9,7 @@ int main(void){
return EXIT_FAILURE;
}
struct notcurses_options opts = {
.flags = NCOPTION_INHIBIT_SETLOCALE | NCOPTION_NO_ALTERNATE_SCREEN,
.flags = NCOPTION_INHIBIT_SETLOCALE,
};
struct notcurses* nc = notcurses_init(&opts, NULL);
if(nc == NULL){

@ -9,7 +9,7 @@ auto main() -> int {
return EXIT_FAILURE;
}
notcurses_options opts{};
opts.flags = NCOPTION_INHIBIT_SETLOCALE | NCOPTION_NO_ALTERNATE_SCREEN;
opts.flags = NCOPTION_INHIBIT_SETLOCALE;
struct notcurses* nc = notcurses_init(&opts, nullptr);
if(nc == nullptr){
return EXIT_FAILURE;

Loading…
Cancel
Save