reset_term_attributes(): flush after oc

pull/832/head
nick black 4 years ago
parent 480ea76989
commit 46b1e6b2fa
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -55,7 +55,7 @@ reset_term_attributes(notcurses* nc){
if(nc->tcache.sgr0 && term_emit("sgr0", nc->tcache.sgr0, nc->ttyfp, false)){
ret = -1;
}
if(nc->tcache.oc && term_emit("oc", nc->tcache.oc, nc->ttyfp, false)){
if(nc->tcache.oc && term_emit("oc", nc->tcache.oc, nc->ttyfp, true)){
ret = -1;
}
return ret;

Loading…
Cancel
Save