notcurses-tester: drop loglevel to _ERROR

This commit is contained in:
nick black 2020-12-11 20:05:33 -05:00
parent 4a7353c1ec
commit 2c4566fdb3
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 2 deletions

View File

@ -933,7 +933,7 @@ get_tty_fd(notcurses* nc, FILE* ttyfp){
if(fd < 0){
fd = open("/dev/tty", O_RDWR | O_CLOEXEC);
if(fd < 0){
logwarn(nc, "Error opening /dev/tty (%s)\n", strerror(errno));
loginfo(nc, "Error opening /dev/tty (%s)\n", strerror(errno));
}
}
return fd;

View File

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