mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		@@ -85,12 +85,6 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
		return (CMD_RETURN_NORMAL);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	server_unzoom_window(wp->window);
 | 
			
		||||
	if (!window_pane_visible(wp)) {
 | 
			
		||||
		cmdq_error(cmdq, "pane not visible");
 | 
			
		||||
		return (CMD_RETURN_ERROR);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (args_has(args, 'm') || args_has(args, 'M')) {
 | 
			
		||||
		if (args_has(args, 'm') && !window_pane_visible(wp))
 | 
			
		||||
			return (CMD_RETURN_NORMAL);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								window.c
									
									
									
									
									
								
							@@ -961,7 +961,7 @@ window_pane_read_callback(__unused struct bufferevent *bufev, void *data)
 | 
			
		||||
 | 
			
		||||
	new_size = EVBUFFER_LENGTH(evb) - wp->pipe_off;
 | 
			
		||||
	if (wp->pipe_fd != -1 && new_size > 0) {
 | 
			
		||||
		new_data = EVBUFFER_DATA(evb);
 | 
			
		||||
		new_data = EVBUFFER_DATA(evb) + wp->pipe_off;
 | 
			
		||||
		bufferevent_write(wp->pipe_event, new_data, new_size);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user