- mvwaddstr(scr->main_ncw, LINES - nc_scr_pos_status, 1,
- scr->frame.status);
+ mvwaddnstr(scr->main_ncw, LINES - nc_scr_pos_status, 1,
+ scr->frame.status, COLS);
+}
+
+int nc_scr_post(struct nc_scr *scr)
+{
+ if (scr->post)
+ return scr->post(scr);
+ return 0;
+}
+
+int nc_scr_unpost(struct nc_scr *scr)
+{
+ if (scr->unpost)
+ return scr->unpost(scr);
+ return 0;