notcurses_refresh(): drop double write #380

pull/400/head
nick black 5 years ago committed by Nick Black
parent e1b729c6a3
commit 83b325de05

@ -946,12 +946,6 @@ int notcurses_refresh(notcurses* nc){
if(ret < 0){
return -1;
}
if(blocking_write(nc->ttyfd, nc->rstate.mstream, nc->rstate.mstrsize)){
return -1;
}
if(fflush(nc->ttyfp)){
return -1;
}
return 0;
}

Loading…
Cancel
Save