Lines Matching refs:cury
53 * Insert or delete lines on stdscr, leaving (cury, curx) unchanged.
66 * Insert or delete lines on the window, leaving (cury, curx) unchanged.
79 "winsdelln: (%p) cury=%d lines=%d\n", win, win->cury, nlines);
94 if (win->cury < win->scr_t || win->cury > win->scr_b) {
96 if (nlines > win->maxy - win->cury)
97 nlines = win->maxy - win->cury;
101 if (nlines > win->scr_b + 1 - win->cury)
102 nlines = win->scr_b + 1 - win->cury;
105 for (y = last - nlines; y >= win->cury; --y) {
118 for (y = win->cury - 1 + nlines; y >= win->cury; --y)
133 for (y = last; y >= win->cury; --y)
138 if (win->cury < win->scr_t || win->cury > win->scr_b) {
140 if (nlines > win->maxy - win->cury)
141 nlines = win->maxy - win->cury;
145 if (nlines > win->scr_b + 1 - win->cury)
146 nlines = win->scr_b + 1 - win->cury;
149 for (y = win->cury; y < last - nlines; y++) {
177 for (y = win->cury; y < last; y++)