mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Reset output functions too when changing client after attaching, to
avoid crash if a command in a sequence after new/attach causes output.
This commit is contained in:
		@@ -99,6 +99,10 @@ cmd_list_exec(struct cmd_list *cmdlist, struct cmd_ctx *ctx)
 | 
			
		||||
			if (ctx->curclient == NULL) {
 | 
			
		||||
				ctx->curclient = ctx->cmdclient;
 | 
			
		||||
				ctx->cmdclient = NULL;
 | 
			
		||||
 | 
			
		||||
				ctx->error = key_bindings_error;
 | 
			
		||||
				ctx->print = key_bindings_print;
 | 
			
		||||
				ctx->info = key_bindings_info;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user