- for (x = 0; x < width_av; x++)
- mvwaddch(win->curses_win, y+1, x+win->border_left, ' '); }
- else if (y > height_av) {
- offset = y - height_av;
+ for (x = 0; x < win->width; x++)
+ mvwaddch(win->curses_win, y, x, ' '); }
+ else if (y > win->height) {
+ offset = y - win->height;