mirror of
https://github.com/tmux/tmux.git
synced 2024-10-01 00:28:59 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
29b2d07b6b
@ -1169,11 +1169,7 @@ screen_write_clearscreen(struct screen_write_ctx *ctx, u_int bg)
|
|||||||
void
|
void
|
||||||
screen_write_clearhistory(struct screen_write_ctx *ctx)
|
screen_write_clearhistory(struct screen_write_ctx *ctx)
|
||||||
{
|
{
|
||||||
struct screen *s = ctx->s;
|
grid_clear_history(ctx->s->grid);
|
||||||
struct grid *gd = s->grid;
|
|
||||||
|
|
||||||
grid_move_lines(gd, 0, gd->hsize, gd->sy, 8);
|
|
||||||
gd->hscrolled = gd->hsize = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clear a collected line. */
|
/* Clear a collected line. */
|
||||||
|
Loading…
Reference in New Issue
Block a user