Initialize context property in alignment test handler function.

This commit is contained in:
nicm 2018-11-13 11:36:37 +00:00
parent 86e648d906
commit 50cdfc06fb

View File

@ -775,6 +775,8 @@ screen_write_alignmenttest(struct screen_write_ctx *ctx)
s->rupper = 0;
s->rlower = screen_size_y(s) - 1;
screen_write_initctx(ctx, &ttyctx);
screen_write_collect_clear(ctx, 0, screen_size_y(s) - 1);
tty_write(tty_cmd_alignmenttest, &ttyctx);
}