notcurses-tester: drop loglevel to _ERROR

pull/1190/head
nick black 4 years ago
parent 4a7353c1ec
commit 2c4566fdb3
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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;

@ -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;

Loading…
Cancel
Save