notcurses-view: match Notcurses::render inversion #489

pull/495/head
nick black 5 years ago
parent 5c22351652
commit 8f6d5cacf5

@ -85,7 +85,7 @@ int perframe([[maybe_unused]] struct notcurses* _nc, struct ncvisual* ncv, void*
ns -= s * NANOSECS_IN_SEC;
stdn->printf(0, NCAlign::Right, "%02ld:%02ld:%02ld.%04ld",
h, m, s, ns / 1000000);
if(!nc.render()){
if(nc.render()){
return -1;
}
int dimx, dimy, oldx, oldy, keepy, keepx;

Loading…
Cancel
Save