… | |
… | |
388 | qline->is_longer (0); |
388 | qline->is_longer (0); |
389 | scr_blank_line (*qline, qline->l, ncol - qline->l, DEFAULT_RSTYLE); |
389 | scr_blank_line (*qline, qline->l, ncol - qline->l, DEFAULT_RSTYLE); |
390 | } |
390 | } |
391 | while (p != pend && q > 0); |
391 | while (p != pend && q > 0); |
392 | |
392 | |
|
|
393 | term_start = total_rows - nrow; |
393 | top_row = q - term_start; |
394 | top_row = q - term_start; |
394 | |
395 | |
395 | // make sure all terminal lines exist |
396 | // make sure all terminal lines exist |
396 | while (top_row > 0) |
397 | while (top_row > 0) |
397 | scr_blank_screen_mem (ROW (--top_row), DEFAULT_RSTYLE); |
398 | scr_blank_screen_mem (ROW (--top_row), DEFAULT_RSTYLE); |
… | |
… | |
408 | copy_line (row_buf [q], prev_row_buf [p]); |
409 | copy_line (row_buf [q], prev_row_buf [p]); |
409 | } |
410 | } |
410 | while (p != pend); |
411 | while (p != pend); |
411 | |
412 | |
412 | screen.cur.row += nrow - prev_nrow; |
413 | screen.cur.row += nrow - prev_nrow; |
413 | } |
|
|
414 | |
|
|
415 | term_start = total_rows - nrow; |
414 | term_start = total_rows - nrow; |
|
|
415 | } |
416 | |
416 | |
417 | clamp_it (screen.cur.row, 0, nrow - 1); |
417 | clamp_it (screen.cur.row, 0, nrow - 1); |
418 | clamp_it (screen.cur.col, 0, ncol - 1); |
418 | clamp_it (screen.cur.col, 0, ncol - 1); |
419 | } |
419 | } |
420 | |
420 | |