mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 09:28:51 +00:00
Need to clear tty context before using it.
This commit is contained in:
parent
5d3cf2ff15
commit
ffd8beb6f6
@ -390,6 +390,8 @@ screen_write_initctx(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx)
|
||||
{
|
||||
struct screen *s = ctx->s;
|
||||
|
||||
memset(ttyctx, 0, sizeof *ttyctx);
|
||||
|
||||
ttyctx->wp = ctx->wp;
|
||||
|
||||
ttyctx->ocx = s->cx;
|
||||
|
Loading…
Reference in New Issue
Block a user