mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
notcurses-tester: drop loglevel to _ERROR
This commit is contained in:
parent
4a7353c1ec
commit
2c4566fdb3
@ -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…
Reference in New Issue
Block a user