version 1.71, 2009/11/18 17:02:17 |
version 1.72, 2009/11/26 14:46:08 |
|
|
if (tty_term_has(tty->term, TTYC_ICH) || |
if (tty_term_has(tty->term, TTYC_ICH) || |
tty_term_has(tty->term, TTYC_ICH1)) |
tty_term_has(tty->term, TTYC_ICH1)) |
tty_emulate_repeat(tty, TTYC_ICH, TTYC_ICH1, ctx->num); |
tty_emulate_repeat(tty, TTYC_ICH, TTYC_ICH1, ctx->num); |
else { |
else if (tty_term_has(tty->term, TTYC_SMIR) && |
|
tty_term_has(tty->term, TTYC_RMIR)) { |
tty_putcode(tty, TTYC_SMIR); |
tty_putcode(tty, TTYC_SMIR); |
for (i = 0; i < ctx->num; i++) |
for (i = 0; i < ctx->num; i++) |
tty_putc(tty, ' '); |
tty_putc(tty, ' '); |
tty_putcode(tty, TTYC_RMIR); |
tty_putcode(tty, TTYC_RMIR); |
} |
} else |
|
tty_draw_line(tty, wp->screen, ctx->ocy, wp->xoff, wp->yoff); |
} |
} |
|
|
void |
void |
|
|
struct screen *s = wp->screen; |
struct screen *s = wp->screen; |
|
|
if (wp->xoff != 0 || screen_size_x(s) < tty->sx || |
if (wp->xoff != 0 || screen_size_x(s) < tty->sx || |
!tty_term_has(tty->term, TTYC_CSR)) { |
!tty_term_has(tty->term, TTYC_CSR) || |
|
!tty_term_has(tty->term, TTYC_IL1)) { |
tty_redraw_region(tty, ctx); |
tty_redraw_region(tty, ctx); |
return; |
return; |
} |
} |
|
|
struct screen *s = wp->screen; |
struct screen *s = wp->screen; |
|
|
if (wp->xoff != 0 || screen_size_x(s) < tty->sx || |
if (wp->xoff != 0 || screen_size_x(s) < tty->sx || |
!tty_term_has(tty->term, TTYC_CSR)) { |
!tty_term_has(tty->term, TTYC_CSR) || |
|
!tty_term_has(tty->term, TTYC_DL1)) { |
tty_redraw_region(tty, ctx); |
tty_redraw_region(tty, ctx); |
return; |
return; |
} |
} |