mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
banner: reset stderr after printing any warnings
This commit is contained in:
parent
cce55f1d4e
commit
33c0e7fa2c
@ -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…
x
Reference in New Issue
Block a user