From 575bfa4b4b6d6f702abf4a6abf6cf1c82bf10b53 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 12 Mar 2012 12:43:18 +0000 Subject: [PATCH] Erm, use EL in a way that actually works... --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tty.c b/tty.c index 80d2c4c4..502f2b98 100644 --- a/tty.c +++ b/tty.c @@ -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 {