Lines Matching refs:rlower

185 	ttyctx->orlower = s->rlower;
921 if (cy > s->rlower) {
927 if (ny > s->rlower - cy)
928 ny = s->rlower - cy;
1027 s->rlower = screen_size_y(s) - 1;
1154 if (s->cy < s->rupper || s->cy > s->rlower) {
1171 if (ny > s->rlower + 1 - s->cy)
1172 ny = s->rlower + 1 - s->cy;
1179 if (s->cy < s->rupper || s->cy > s->rlower)
1182 grid_view_insert_lines_region(gd, s->rlower, s->cy, ny, bg);
1207 if (s->cy < s->rupper || s->cy > s->rlower) {
1224 if (ny > s->rlower + 1 - s->cy)
1225 ny = s->rlower + 1 - s->cy;
1232 if (s->cy < s->rupper || s->cy > s->rlower)
1235 grid_view_delete_lines_region(gd, s->rlower, s->cy, ny, bg);
1351 if ((u_int)py > s->rlower - s->rupper)
1352 py = s->rlower;
1379 grid_view_scroll_region_down(s->grid, s->rupper, s->rlower, bg);
1394 u_int rlower)
1400 if (rlower > screen_size_y(s) - 1)
1401 rlower = screen_size_y(s) - 1;
1402 if (rupper >= rlower) /* cannot be one line */
1411 s->rlower = rlower;
1424 u_int rupper = s->rupper, rlower = s->rlower;
1431 rupper, rlower);
1438 if (s->cy == s->rlower) {
1440 if (rlower == screen_size_y(s) - 1)
1443 redraw = image_check_line(s, rupper, rlower - rupper);
1447 grid_view_scroll_region_up(gd, s->rupper, s->rlower, bg);
1464 else if (lines > s->rlower - s->rupper + 1)
1465 lines = s->rlower - s->rupper + 1;
1478 grid_view_scroll_region_up(gd, s->rupper, s->rlower, bg);
1498 else if (lines > s->rlower - s->rupper + 1)
1499 lines = s->rlower - s->rupper + 1;
1507 grid_view_scroll_region_down(gd, s->rupper, s->rlower, bg);
1742 s->rupper, s->rlower);
1746 for (y = s->rupper; y < s->rlower; y++) {
1751 ctx->s->write_list[s->rlower].data = saved;
1758 TAILQ_INSERT_TAIL(&ctx->s->write_list[s->rlower].items, ci, entry);
1774 ctx->scrolled, s->rupper, s->rlower);
1775 if (ctx->scrolled > s->rlower - s->rupper + 1)
1776 ctx->scrolled = s->rlower - s->rupper + 1;