summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ncurses/nc-scr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ncurses/nc-scr.c b/ui/ncurses/nc-scr.c
index 41e35de..a02627b 100644
--- a/ui/ncurses/nc-scr.c
+++ b/ui/ncurses/nc-scr.c
@@ -36,8 +36,8 @@ static void nc_scr_status_clear(struct nc_scr *scr)
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)
OpenPOWER on IntegriCloud