mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Need to clear tty context before using it.
This commit is contained in:
		@@ -387,6 +387,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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user