mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
notcurses-tester: no alternate screen
This commit is contained in:
parent
5c3818b103
commit
7ab2bddde7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user