Hello. Searching an explanation about ncurses, I found a little tutorial showing how to initialize a custom window. Maybe you could find some tips. I read : Height and width of the window. The size of the whole screen can be determined by the two global variables COLUMNS and LINES :
Sorry been a little busy recently, but basically I meant a virtual window, I think. Here's the exact definition:
auto file_pad = newpad(ROWS, COLS);
I eventually just decided to reconstruct the window object instead:
1 2 3 4 5 6
// re-construct the window with 1 more available column.
auto file_pad = newpad(max_y, max_x+1);
overwrite(views->file_pad, file_pad);
wmove(y,x);
views->file_pad = file_pad;
views->pad_minx++;// scroll right 1 character.
I was in a bit of a rush so I forgot to come back and mark it as solved-- sorry about that! 😅
EDIT: wow would you look at that memory leak lol damn it has been WAY to long since I did any C++