diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 19:29:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 19:29:46 +0000 |
commit | 164e85cca75d5f7a6f36c286f597e03d08c90c2a (patch) | |
tree | d29565b21fe3a0e8d7bc59706c3bc26a8821d290 /tty.c | |
parent | 0b34fefe6e007ca2eb68382d0b4042d7a1ab1dd4 (diff) | |
download | rtmux-164e85cca75d5f7a6f36c286f597e03d08c90c2a.tar.gz rtmux-164e85cca75d5f7a6f36c286f597e03d08c90c2a.tar.bz2 rtmux-164e85cca75d5f7a6f36c286f597e03d08c90c2a.zip |
Do not clear to end of line if the line is full, fixes missing last
character in rightmost pane.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -604,7 +604,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 + screen_size_x(s) >= tty->sx && + if (sx != screen_size_x(s) && ox + screen_size_x(s) >= tty->sx && tty_term_has(tty->term, TTYC_EL)) tty_putcode(tty, TTYC_EL); else { |