… | |
… | |
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 | top_row = q - term_start; |
|
|
394 | |
393 | // make sure all terminal lines exist |
395 | // make sure all terminal lines exist |
394 | while (top_row > 0) |
396 | while (top_row > 0) |
395 | scr_blank_screen_mem (ROW (--top_row), DEFAULT_RSTYLE); |
397 | scr_blank_screen_mem (ROW (--top_row), DEFAULT_RSTYLE); |
396 | } |
398 | } |
397 | else |
399 | else |
… | |
… | |
409 | |
411 | |
410 | screen.cur.row += nrow - prev_nrow; |
412 | screen.cur.row += nrow - prev_nrow; |
411 | } |
413 | } |
412 | |
414 | |
413 | term_start = total_rows - nrow; |
415 | term_start = total_rows - nrow; |
414 | top_row = q - term_start; |
|
|
415 | |
416 | |
416 | clamp_it (screen.cur.row, 0, nrow - 1); |
417 | clamp_it (screen.cur.row, 0, nrow - 1); |
417 | clamp_it (screen.cur.col, 0, ncol - 1); |
418 | clamp_it (screen.cur.col, 0, ncol - 1); |
418 | } |
419 | } |
419 | |
420 | |