banner: reset stderr after printing any warnings

pull/658/head
nick black 4 years ago
parent cce55f1d4e
commit 33c0e7fa2c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -672,6 +672,9 @@ init_banner(const notcurses* nc){
if(!notcurses_canutf8(nc)){
fprintf(stderr, "\n Warning! Encoding is not UTF-8.\n");
}
if(nc->tcache.sgr0){
term_emit("sgr0", nc->tcache.sgr0, stderr, true);
}
}
}

Loading…
Cancel
Save