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

pull/1633/head
nicm 2019-03-14 17:58:52 +00:00
parent 0425e3178d
commit 9bd4b96766
1 changed files with 1 additions and 1 deletions

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);