[direct] finalize fbuf on exit

pull/2148/head
nick black 3 years ago
parent 61ee8b8668
commit 1c72516c06
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -861,6 +861,7 @@ ncdirect_stop_minimal(void* vnc){
ret |= nc->tcache.pixel_shutdown(&f);
}
ret |= reset_term_attributes(&nc->tcache, &f);
ret |= fbuf_finalize(&f, stdout);
}
if(nc->tcache.ttyfd >= 0){
const char* cnorm = get_escape(&nc->tcache, ESCAPE_CNORM);

Loading…
Cancel
Save