mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
reset_term_attributes(): flush after oc
This commit is contained in:
parent
480ea76989
commit
46b1e6b2fa
@ -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…
Reference in New Issue
Block a user