Fix ED1 (clear end of screen), reported by Marc Reisner.

This commit is contained in:
nicm 2019-03-14 17:58:52 +00:00
parent 0425e3178d
commit 9bd4b96766

2
tty.c
View File

@ -1672,7 +1672,7 @@ tty_cmd_clearstartofscreen(struct tty *tty, const struct tty_ctx *ctx)
px = 0;
nx = screen_size_x(wp->screen);
py = 0;
ny = ctx->ocy - 1;
ny = ctx->ocy;
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);