Sync OpenBSD patchset 1048:

Erm, use EL in a way that actually works...
This commit is contained in:
Tiago Cunha 2012-03-18 01:37:26 +00:00
parent 14d6a4ab26
commit 4d1c513968

2
tty.c
View File

@ -588,7 +588,7 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int py, u_int ox, u_int oy)
tty_reset(tty);
tty_cursor(tty, ox + sx, oy + py);
if (ox + sx + screen_size_x(s) >= tty->sx &&
if (ox + screen_size_x(s) >= tty->sx &&
tty_term_has(tty->term, TTYC_EL))
tty_putcode(tty, TTYC_EL);
else {