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:
		
							
								
								
									
										1
									
								
								cfg.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								cfg.c
									
									
									
									
									
								
							@@ -101,6 +101,7 @@ start_cfg(void)
 | 
			
		||||
		cmdq_append(c, cfg_item);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (cfg_file == NULL)
 | 
			
		||||
		load_cfg(TMUX_CONF, NULL, NULL, 1);
 | 
			
		||||
 | 
			
		||||
	if (cfg_file == NULL && (home = find_home()) != NULL) {
 | 
			
		||||
 
 | 
			
		||||
@@ -324,7 +324,7 @@ screen_write_copy(struct screen_write_ctx *ctx, struct screen *src, u_int px,
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copy from another screen but without the selection stuff. Also assumes the
 | 
			
		||||
 * target region is already big enough and already cleared.
 | 
			
		||||
 * target region is already big enough.
 | 
			
		||||
 */
 | 
			
		||||
void
 | 
			
		||||
screen_write_fast_copy(struct screen_write_ctx *ctx, struct screen *src,
 | 
			
		||||
@@ -349,7 +349,6 @@ screen_write_fast_copy(struct screen_write_ctx *ctx, struct screen *src,
 | 
			
		||||
			grid_get_cell(gd, xx, yy, &gc);
 | 
			
		||||
			if (xx + gc.data.width > px + nx)
 | 
			
		||||
				break;
 | 
			
		||||
			if (!grid_cells_equal(&gc, &grid_default_cell))
 | 
			
		||||
			grid_view_set_cell(ctx->s->grid, cx, cy, &gc);
 | 
			
		||||
			cx++;
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user