diff options
-rw-r--r-- | ui/ncurses/nc-scr.c | 2 | ||||
-rw-r--r-- | ui/ncurses/nc-scr.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/ncurses/nc-scr.c b/ui/ncurses/nc-scr.c index e8c5fca..9ad356f 100644 --- a/ui/ncurses/nc-scr.c +++ b/ui/ncurses/nc-scr.c @@ -128,7 +128,7 @@ int nc_scr_init(struct nc_scr *scr, enum pb_nc_sig sig, int begin_x, scr->sub_ncw = derwin(scr->main_ncw, LINES - nc_scr_frame_lines, - COLS - 1 - begin_x, + COLS - nc_scr_frame_cols - begin_x, nc_scr_pos_sub, begin_x); diff --git a/ui/ncurses/nc-scr.h b/ui/ncurses/nc-scr.h index 775e8de..4f9de59 100644 --- a/ui/ncurses/nc-scr.h +++ b/ui/ncurses/nc-scr.h @@ -64,6 +64,7 @@ enum nc_scr_pos { nc_scr_pos_status = 1, nc_scr_frame_lines = 5, + nc_scr_frame_cols = 1, }; struct nc_frame { |