notcurses-tester: no alternate screen

This commit is contained in:
nick black 2020-12-31 00:32:47 -05:00
parent 5c3818b103
commit 7ab2bddde7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -17,7 +17,7 @@ static const char* datadir = NOTCURSES_SHARE;
auto testing_notcurses() -> struct notcurses* { auto testing_notcurses() -> struct notcurses* {
notcurses_options nopts{}; notcurses_options nopts{};
nopts.loglevel = NCLOGLEVEL_ERROR; nopts.loglevel = NCLOGLEVEL_ERROR;
nopts.flags = NCOPTION_SUPPRESS_BANNERS; nopts.flags = NCOPTION_SUPPRESS_BANNERS | NCOPTION_NO_ALTERNATE_SCREEN;
auto nc = notcurses_init(&nopts, nullptr); auto nc = notcurses_init(&nopts, nullptr);
return nc; return nc;
} }