* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#if defined(HAVE_CONFIG_H)
#include "config.h"
-
-#define _GNU_SOURCE
+#endif
#include <assert.h>
#include <stdarg.h>
static void nc_scr_status_draw(struct nc_scr *scr)
{
- 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)