mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Initialize context property in alignment test handler function.
This commit is contained in:
parent
86e648d906
commit
50cdfc06fb
@ -775,6 +775,8 @@ screen_write_alignmenttest(struct screen_write_ctx *ctx)
|
|||||||
s->rupper = 0;
|
s->rupper = 0;
|
||||||
s->rlower = screen_size_y(s) - 1;
|
s->rlower = screen_size_y(s) - 1;
|
||||||
|
|
||||||
|
screen_write_initctx(ctx, &ttyctx);
|
||||||
|
|
||||||
screen_write_collect_clear(ctx, 0, screen_size_y(s) - 1);
|
screen_write_collect_clear(ctx, 0, screen_size_y(s) - 1);
|
||||||
tty_write(tty_cmd_alignmenttest, &ttyctx);
|
tty_write(tty_cmd_alignmenttest, &ttyctx);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user