mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
Sync OpenBSD patchset 1061:
Do not clear to end of line if the line is full, fixes missing last character in rightmost pane.
This commit is contained in:
parent
a7c615a794
commit
bde45cdd9c
2
tty.c
2
tty.c
@ -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_reset(tty);
|
||||||
|
|
||||||
tty_cursor(tty, ox + sx, oy + py);
|
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_term_has(tty->term, TTYC_EL))
|
||||||
tty_putcode(tty, TTYC_EL);
|
tty_putcode(tty, TTYC_EL);
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user