mirror of
https://github.com/tmux/tmux.git
synced 2025-03-29 02:08:48 +00:00
Fix ED1 (clear end of screen), reported by Marc Reisner.
This commit is contained in:
parent
0425e3178d
commit
9bd4b96766
2
tty.c
2
tty.c
@ -1672,7 +1672,7 @@ tty_cmd_clearstartofscreen(struct tty *tty, const struct tty_ctx *ctx)
|
|||||||
px = 0;
|
px = 0;
|
||||||
nx = screen_size_x(wp->screen);
|
nx = screen_size_x(wp->screen);
|
||||||
py = 0;
|
py = 0;
|
||||||
ny = ctx->ocy - 1;
|
ny = ctx->ocy;
|
||||||
|
|
||||||
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
|
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user