mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 21:14:21 +00:00
Dirty ED 2 correctly, GiHub issue 5322 from git at twilligon dot com.
This commit is contained in:
@@ -1992,7 +1992,7 @@ screen_write_clearscreen(struct screen_write_ctx *ctx, u_int bg)
|
|||||||
|
|
||||||
screen_write_collect_clear(ctx, 0, sy);
|
screen_write_collect_clear(ctx, 0, sy);
|
||||||
|
|
||||||
if (!screen_write_should_draw_lines(ctx, s->cy, sy - s->cy))
|
if (!screen_write_should_draw_lines(ctx, 0, sy))
|
||||||
return;
|
return;
|
||||||
if (~ttyctx.flags & TTY_CTX_PANE_OBSCURED) {
|
if (~ttyctx.flags & TTY_CTX_PANE_OBSCURED) {
|
||||||
tty_write(tty_cmd_clearscreen, &ttyctx);
|
tty_write(tty_cmd_clearscreen, &ttyctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user